]> git.plutz.net Git - serve0/commitdiff
ursave escape for double-quote
authorpaul <paul@plutz.net>
Thu, 23 Apr 2015 10:39:49 +0000 (10:39 +0000)
committerpaul <paul@plutz.net>
Thu, 23 Apr 2015 10:39:49 +0000 (10:39 +0000)
svn path=/trunk/; revision=37

cgi.sh

diff --git a/cgi.sh b/cgi.sh
index 846cc1c9b6985be27ff30e54d382b7148515718e..c70c4d26cd841e0757d51b2c6833aa41baeeea58 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;s:":\%22:g;'
 }