This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
javascript urls aren't sanitized #39
Labels
Comments
Comment #1 originally posted by metaweta on 2008-01-18T00:45:35.000Z: Also, the easier |
Comment #2 originally posted by mikesamuel on 2008-01-18T05:08:11.000Z: Yep. We need to settle on a URI rewriting policy. GxpCompiler requires all URIs to be relative and not to have .. that escapes to a Ryan's HtmlCompiler applies no such policy, but we can probably use the UriCallback |
Comment #3 originally posted by erights on 2008-01-28T20:01:29.000Z: <empty> |
Comment #4 originally posted by erights on 2008-01-28T20:25:16.000Z: <empty> |
Comment #5 originally posted by mikesamuel on 2008-03-09T02:51:29.000Z: This code gets passed through the url callback properly. |
This was referenced Apr 16, 2015
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Original issue 39 created by metaweta on 2008-01-18T00:42:08.000Z:
<div id="1"></div>
<script type="text/javascript">
document.getElementById("1").innerHTML="<a
href='javascript:alert(1)'>blah</a>";
</script>
The text was updated successfully, but these errors were encountered: