Commit d12e7e88 by Waheed Ahmed

Fixed allowing for execution of arbitrary Javascript in student response.

ORA-256
parent a077dc81
......@@ -368,6 +368,7 @@ class @CombinedOpenEnded
@rub.initialize(@location)
@child_state = 'assessing'
@find_assessment_elements()
@answer_area.val(response.student_response)
@rebind()
answer_area_div = @$(@answer_area_div_sel)
answer_area_div.html(response.student_response)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment