LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] ssi echo encoding

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2012, 03:03 PM
Javarome Javarome is offline
New Member
 
Join Date: Nov 2012
Posts: 2
Default [solved] ssi echo encoding

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 NiteWave; 11-21-2012 at 06:08 PM..
Reply With Quote
  #2  
Old 11-21-2012, 04:40 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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
Reply With Quote
  #3  
Old 11-21-2012, 05:40 PM
Javarome Javarome is offline
New Member
 
Join Date: Nov 2012
Posts: 2
Thank you mistwang.
Now I need to convince my web hosting provider to upgrade your software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:40 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.