-
-
Save uploadcare-user/0550a58aefe67d0b0d2059f0cae02741 to your computer and use it in GitHub Desktop.
Short snippet, explains how one can encounter the closing script tag in a JS literal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var s = "surprise!</script><script>alert('whoops!')</script>"; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment