Comment 7 for bug 935516

Revision history for this message
In , Jan (jan-redhat-bugs) wrote :

Description of problem:
python-genshi package failed to build in F18 and my package requires it. Please update it's check functions to build properly.

Version-Release number of selected component (if applicable):
python-genshi-0.6-5.fc18

How reproducible:
always

Actual results:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4374336

Expected results:

Additional info:
======================================================================
FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Genshi-0.6/genshi/filters/tests/html.py", line 368, in test_sanitize_remove_script_elem
    self.assertRaises(ParseError, HTML, '<SCR\0IPT>alert("foo")</SCR\0IPT>')
AssertionError: ParseError not raised
======================================================================
FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Genshi-0.6/genshi/filters/tests/html.py", line 442, in test_sanitize_remove_src_javascript
    '<IMG SRC=`javascript:alert("RSnake says, \'foo\'")`>')
AssertionError: ParseError not raised
----------------------------------------------------------------------