httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49743] New: SSI 'echo encoding="(url/none)"' bug
Date Thu, 12 Aug 2010 10:50:55 GMT
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="&auml;&ouml;&uuml;" -->
<!--#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


Mime
View raw message