Skip to content

Commit

Permalink
Test sanitize html in a scring in a script tag
Browse files Browse the repository at this point in the history
Test update for simplepie#844
  • Loading branch information
nfriedly committed Aug 16, 2023
1 parent bb01ef4 commit 524df04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SanitizeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function testSanitize()
,
$sanitize->sanitize(
<<<EOT
&#60;head&#62; &amp; &lt;body&gt; /\ ' === &apos; &#38; " === &quot;. Sbohem bez šátečku! Тут был Лёха.<script>alert('XSS')</script>
&#60;head&#62; &amp; &lt;body&gt; /\ ' === &apos; &#38; " === &quot;. Sbohem bez šátečku! Тут был Лёха.<script>var htmlString="<p>test</p>"; alert('XSS')</script>
EOT
,
SIMPLEPIE_CONSTRUCT_MAYBE_HTML
Expand Down

0 comments on commit 524df04

Please sign in to comment.