https://bz.apache.org/bugzilla/show_bug.cgi?id=64136
Bug ID: 64136
Summary: Using "</script>" keyword as string in javascript will
result in malformed javascript
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_html
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Using "</SCRIPT" as string in Javascript is apparently misinterpreted as end of
javascript HTML inclusion statement when proxy-html is set as output filter.
See example below for reproduction. This results in malformed javascript
output, which fails interpretation.
if(szDocName.toUpperCase().indexOf("</SCRIPT")!=-1){szDocName="";}</script>
-->
if (szDocName.toUpperCase().indexOf("</script>
Thanks for investigating!
Matthieu
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]