From: paul Date: Sat, 20 Dec 2014 01:42:43 +0000 (+0000) Subject: remove faulty escapes in urlsave function X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b1c7e3532ef39cd80329bfeec97a90f79ff7cd87;p=serve0 remove faulty escapes in urlsave function svn path=/trunk/; revision=30 --- diff --git a/cgi.sh b/cgi.sh index 2c4d45d..846cc1c 100755 --- a/cgi.sh +++ b/cgi.sh @@ -54,5 +54,5 @@ cgi_refdata() { # Parse GET data from referer } urlsave(){ - echo -E "$*" |sed 's:%:\%25:g;s:\?:\%3F:g;s:&:\%26:g;s:'\'':\%27:g;s: :\%20:g;s;!;\%21;g;s;\(;\%28;g;s;\);\%29;g;' + echo -E "$*" |sed 's:%:\%25:g;s:\?:\%3F:g;s:&:\%26:g;s:'\'':\%27:g;s: :\%20:g;s:!:\%21:g;s:(:\%28:g;s:):\%29:g;' }