You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/02/11 20:15:56 UTC
[Bug 64136] New: Using "" keyword as string in javascript will result in malformed javascript
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: bugs@httpd.apache.org
Reporter: schapranow@hpi.de
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org