httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49743] New: SSI 'echo encoding="(url/none)"' bug
Date Thu, 12 Aug 2010 10:50:55 GMT

           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

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.

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" --> 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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message