edx/edx-platform — pull request #3264 by rayhooker (2014-04-08 18:37:26+00:00)
Title: Fix test_combined_open_ended.py - test_iframe

The test was designed to verify that the sanitize_html method would properly remove "evil tags" from html. The test compares an iframe snippet before and after. The sanitize actually but the test was failing due to an incorrect test string. The string were functionally equivalent but the fields were reordered. The test was fixed by setting the iframe_clean string to the iframe_dirty string minus the offending - onerror="eval()" - tag. Once the fields were in the same order the strings matched and the test passes.