Re: mod_proxy_html html entities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 22, 2011 at 12:47 PM, Nick Kew <nick@xxxxxxxxxxxx> wrote:
>
> On 22 Nov 2011, at 12:36, <Christian.Kaiser@xxxxxx> <Christian.Kaiser@xxxxxx> wrote:
>
>> 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
characters.

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

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux