You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/08/12 12:50:55 UTC
DO NOT REPLY [Bug 49743] New: SSI 'echo encoding="(url/none)"' bug
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: bugs@httpd.apache.org
ReportedBy: tjones575@gmail.com
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 49743] SSI 'echo encoding="(url/none)"' bug
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49743
mfalkvidd <ap...@mjo.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |apache@mjo.se
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org