https://issues.apache.org/bugzilla/show_bug.cgi?id=49743
Summary: SSI 'echo encoding="(url/none)"' bug
Product: Apache httpd-2
Version: 2.2.15
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_include
AssignedTo: [email protected]
ReportedBy: [email protected]
The 'echo encoding' in the Apache SSI module 'mod_include' is not working, and
it somehow looks totally messed up. This bug seems to be present since many
years already (some reports dating back until 2004). Many people reporting it
in several forums, but obviously nobody filed a bug report yet.
http://httpd.apache.org/docs/2.0/mod/mod_include.html#element.echo
The whole encoding is not doing what it's supposed to do.
<!--#echo encoding="url" var="HTTP_REFERER" -->
The resulting URL is NOT ENCODED at all, just returned back AS IS.
However, if I DON'T WANT encoding (encoding="none") and passing a HTML encoded
variable like this...
<!--#set var="title" value="äöü" -->
<!--#echo encoding="none" var="titel" -->
...it is being DECODED as plain UTF-8 ! I couldn't find a way to return the
original HTML encoded string.
If I *WANT* encoding, I don't get encoding.
If I *DON'T WANT* encoding, I get decoding.
Really strange behaviour...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]