Send a blank email to [email protected] to get a copy of this message
Hello,
I'm having a problem with the DOM parser:
If I load the following using DOMDocument->loadHTML():
<script type="text/javascript"><!--
var d="";alert('This is an XSS test'); //";
</script>
it will be converted to:
<script type="text/javascript"><!--
var d="";alert('This is an XSS test'); //";
</script>
This is because parser is substituting '"' for '"'.
Is there a way to prevent this from happening?
__
Raymond