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

[Bug 61083] New: mod_proxy_html ignoring ProxyHTMLCharsetOut


            Bug ID: 61083
           Summary: mod_proxy_html ignoring ProxyHTMLCharsetOut
           Product: Apache httpd-2
           Version: 2.4.25
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_html
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: a.suarez@xxxxxxxxxxxxxxx
  Target Milestone: ---

Created attachment 34990
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34990&action=edit
Apache 2.4.25 trace files with proxy-html enabled and disabled


We're upgrading a site from Apache 2.2 and just found that version 2.4 seems to
ignore the ProxyHTMLCharsetOut directive. 

Our setup:
* Fronted: SSL site on Apache 2.4.25. Output charset should be ISO-8859-1
* Backend: non-SSL site on Tomcat 8.5.6. Output charset is ISO-8859-1

Whenever we set: 

SetOutputFilter        proxy-html
ProxyHTMLCharsetOut    ISO-8859-1

the output charset is always UTF-8; if SetOutputFilter is commented out, then
the output charset is ISO-8859-1 as expected.

This used to work fine on version 2.2. Wrong behaviour was first found on
Debian 8 builtin package (version 2.4.10), but it's also happening on version
2.4.25 (downloaded as source and built with debian/rules makefile).

We've tried playing with xml2EncDefault, ProxyHTMLMeta, AddDefaultCharset and
even mod_charset_lite with no result.

Trace files (error.log) with mod-proxy enabled and disabled are attached.

Thank you in advance. Best regards,

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx