Re: mod_proxy_html incorrectly handles <SPAN> tag
Kees Nuyt wrote:
> Just a wild guess: Does it also fail when you include the
> <head></head> pair ?
Wrong. But if it's a pure guess, the reasoning is good.
> A proxy could try to interpret META tags within <head> to look
> for proxy directives, and maybe even replace them by http
> headers and delete the META.
That is indeed an option available to server administrators.
> If such a proxy assumes <head></head> is always present
It doesn't. Neither does HTML require it (though <title> is
required, the parser can cope with its absence).
> it could
> mess up the page.
FWIW, if you have libxml2 installed, you can run any HTML document
through xmllint with the --html option. What comes out is the baseline
for what will come out of mod_proxy_html. Any differences are changes
you've configured mod_proxy_html to make.
--
Nick Kew
|