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 2014/09/18 15:20:33 UTC

[Bug 56992] New: mod_proxy_html does not parse style attribute

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: bugs@httpd.apache.org
          Reporter: modir@huanga.com

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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56992] mod_proxy_html does not parse style attribute

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

Christophe JAILLET <ch...@wanadoo.fr> changed:

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

--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---


*** This bug has been marked as a duplicate of bug 56288 ***

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