From: paul Date: Fri, 7 Aug 2015 16:59:08 +0000 (+0000) Subject: fixed escaping bug X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=75f025e157fe5861e77db4ec8fdd860c7feec1cf;hp=348367d4594d3fa840a4ebf7fb98fc1969a6b666;p=clickslide fixed escaping bug svn path=/trunk/; revision=14 --- diff --git a/cgi.sh b/cgi.sh index fdc57b4..4f4cb50 100755 --- a/cgi.sh +++ b/cgi.sh @@ -80,11 +80,6 @@ urlsafe(){ s;&;%26;g; s;";%22;g; s;'\'';%27;g;' -# s; ;%20;g; -# s;!;%21;g; -# s;(;%28;g; -# s;);%29;g; -# s;:;%3a;g; } htmlsafe(){ @@ -93,7 +88,7 @@ htmlsafe(){ s;>;\>\;;g; s;&;\&\;;g; s;";\"\;;g; - s;'\'';&apos\;;g;' + s;'\'';\&apos\;;g;' } redirect(){