ssi echo element attribute encoding="urlencoded"

NiteWave

Administrator
#2
tested with lsws 4.2.20,
1)
<!--#echo encoding="entity" var="QUERY_STRING" -->
works for both lsws and apache 2.2

2)
<!--#echo encoding="urlencoded" var="QUERY_STRING" -->
apache 2,2 report error:
[an error occurred while processing this directive]
lsws 4.2.20 will not report error, but just show querystring, same as
<!--#echo encoding="entity" var="QUERY_STRING" -->

3) compared document between apache 2.2 and 2.4
https://httpd.apache.org/docs/2.2/mod/mod_include.html#element.echo -> 2.2
https://httpd.apache.org/docs/current/mod/mod_include.html#element.echo -> 2.4
looks like encoding="urlencoded" is a new feature of apache 2.4
most likely lsws don't support it yet at present
 
Top