From: paul Date: Thu, 23 Apr 2015 10:39:49 +0000 (+0000) Subject: ursave escape for double-quote X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=0cddec4f040cdaec32ffdb0b61b6700866dceb26;p=serve0 ursave escape for double-quote svn path=/trunk/; revision=37 --- diff --git a/cgi.sh b/cgi.sh index 846cc1c..c70c4d2 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;s:":\%22:g;' }