forked from github/kensanata.oddmuse
rss.t: XSS in summaries was fixed
Thus it is revealed that the old version of the test was making sure that XSS was possible via the edit summary. Oh dear.
This commit is contained in:
2
t/rss.t
2
t/rss.t
@@ -93,7 +93,7 @@ test_page(get_page('action=rss'),
|
||||
|
||||
# limiting the size of our RSS feed
|
||||
update_page('big', 'foo foo foo', '<mu>');
|
||||
test_page(get_page('action=rss'), '<description><mu></description>');
|
||||
test_page(get_page('action=rss'), '<description>&lt;mu&gt;</description>');
|
||||
test_page(get_page('action=rss full=1'), 'foo foo foo');
|
||||
test_page(get_page('action=rss full=1 diff=1'), '<div class="diff">');
|
||||
update_page('big', 'x' x 49000);
|
||||
|
||||
Reference in New Issue
Block a user