]> git.plutz.net Git - serve0/commitdiff
remove faulty escapes in urlsave function
authorpaul <paul@plutz.net>
Sat, 20 Dec 2014 01:42:43 +0000 (01:42 +0000)
committerpaul <paul@plutz.net>
Sat, 20 Dec 2014 01:42:43 +0000 (01:42 +0000)
svn path=/trunk/; revision=30

cgi.sh

diff --git a/cgi.sh b/cgi.sh
index 2c4d45d3f49a6fa4070ca8a503cfa2d52ad562a1..846cc1c9b6985be27ff30e54d382b7148515718e 100755 (executable)
--- 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;'
 }