From 2025d397530ad31a57c4c1df926891b028a712a7 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 31 Jul 2015 11:12:57 +0000 Subject: [PATCH] fixed accidentally broken urlsave svn path=/trunk/; revision=9 --- cgi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi.sh b/cgi.sh index 3ad0e8b..a9c59d9 100755 --- a/cgi.sh +++ b/cgi.sh @@ -73,10 +73,10 @@ cgi_cookie() { # Parse GET data from referer urlsave(){ printf %s "$*" \ - | sed 's; ;%20;g; + | sed 's;%;%25;g; + s; ;%20;g; s;!;%21;g; s;";%22;g; - s;%;%25;g; s;&;%26;g; s;(;%28;g; s;);%29;g; -- 2.39.2