From 75f025e157fe5861e77db4ec8fdd860c7feec1cf Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 7 Aug 2015 16:59:08 +0000 Subject: [PATCH] fixed escaping bug svn path=/trunk/; revision=14 --- cgi.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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(){ -- 2.39.2