httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] mod_proxy_html html entities
Date Tue, 22 Nov 2011 13:00:49 GMT
On Tue, Nov 22, 2011 at 12:47 PM, Nick Kew <> wrote:
> On 22 Nov 2011, at 12:36, <Christian.Kaiser@LEW.DE> <Christian.Kaiser@LEW.DE>
>> Hello to all,
>> I set up a reverse proxy with module mod_proxy_html enabled.
>> Now all html entities will be rewritten, for example: &uuml; to ├╝
>> Can I prevent this rewriting?
> Probably not.  Can you do it with libxml2?
> (it's a long time since I looked at how the parser deals with
> entities and encoding, so I could be wrong).
> If it's causing something to display incorrectly, then either
> you're missing mod_xml2enc or you found a bug.

ISTR this is a libxml2 thing - the entities are correctly encoded and
parsed by libxml2, but when they are output there is no requirement on
libxml2 to turn them back into entities - it is just as legal (and
results in a smaller document) if they are left as (I assume) UTF-8

Nick, does mod_proxy_html set/alter xmlSubstituteEntitiesDefaultValue
(from <libxml/globals.h> ? I think this controls the behaviour on
parsing a document.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message