[solved] ssi echo encoding

#1
Hello,

Not sure that this is a bug, so I'm posting in this 'General' category.

I am setting a custom variable to contain some HTML code, like below (a link to "1969" with the last '9' excluded from the link in this example):

<!--#set var="h1" value="<a href=\"..\">196</a>9" -->

then just the line below I'm including a sub-file that is intended to use it:

<!--#include virtual="/header.html" -->

and finally, the header.html code is intended to display such a value:

<!--#echo encoding="none" var="h1" -->

Unfortunately, the result of the inclusion lead to the value interpreted as if the default "entity" encoding could not be changed :

&lt;a href=\&quot;..\&quot;&gt;196&lt;/a&gt;9

Apparently, this should have worked on Apache.
What could I've done wrong?

Thanks for your help.
 
Last edited by a moderator:
Top