[solved] ssi echo encoding
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 :
Apparently, this should have worked on Apache.
What could I've done wrong?
Thanks for your help.
that's indeed a bug in SSI processing.
Please upgrade to the latest 4.2.1 build:
/usr/local/lsws/admin/misc/lsup.sh -f -v 4.2.1
Thank you mistwang.
Now I need to convince my web hosting provider to upgrade your software ;)
|All times are GMT -7. The time now is 04:20 AM.|