Category lists and WikiReferences restrict to current Web.
Fix one sanitization test.
This commit is contained in:
parent
2cd2b2746e
commit
10b0561aca
5 changed files with 41 additions and 31 deletions
|
@ -14,7 +14,7 @@ class NoWikiTest < Test::Unit::TestCase
|
|||
|
||||
def test_sanitized_nowiki
|
||||
match(NoWiki, 'This sentence contains <nowiki><span>a b</span> <script>alert("XSS!");</script></nowiki>. Do not touch!',
|
||||
:plain_text => '<span>a b</span> <script>alert("XSS!");</script>'
|
||||
:plain_text => '<span>a b</span> <script>alert("XSS!");</script>'
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue