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


[Bug 64136] Using "" keyword as string in javascript will result in malformed javascript

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64136

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.

-- 
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