mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Fix typo in XSS test
This commit is contained in:
parent
03cde003db
commit
5ea1b0742f
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,7 @@ describe DiscourseDiff do
|
|||
|
||||
describe "inline_html" do
|
||||
|
||||
it "doest not lead to XSS" do
|
||||
it "does not lead to XSS" do
|
||||
a = "<test>start</test>"
|
||||
b = "<test>end</test>"
|
||||
prev = "<div>#{CGI::escapeHTML(a)}</div>"
|
||||
|
@ -132,4 +132,3 @@ describe DiscourseDiff do
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue