https://issues.apache.org/bugzilla/show_bug.cgi?id=56992

            Bug ID: 56992
           Summary: mod_proxy_html does not parse style attribute
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_html
          Assignee: [email protected]
          Reporter: [email protected]

I have here a very strange problem with mod_proxy_html which I think is a bug.
The HTML code which gets parsed looks like this:

<a href="/old/something.html"
style="background-image:url('/old/images/background.png')">link</a>


Our configuration looks like this:

ProxyPass /  ajp://localhost:9000/webapp/
<Location />
SetOutputFilter INFLATE;proxy-html;DEFLATE
ProxyPassReverse /
ProxyHTMLExtended On

ProxyHTMLURLMap /old/ /new/

RequestHeader unset Accept-Encoding
</Location>


And in the module config file I added this:

ProxyHTMLLinks  a               href style

>From my understanding this should now filter the HREF and the STYLE attribute.
But it only filters the HREF.

Either the documentation is not clear enough or there is really a bug in the
software.

I tested it with httpd version 2.4.6 which was coming with CentOS7. I checked
the change logs and there seems to be no changes regarding this up to 2.4.10.

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

Reply via email to