]> git.plutz.net Git - serve0/commitdiff
escape parenthesis in urls
authorpaul <paul@plutz.net>
Sat, 20 Dec 2014 01:16:03 +0000 (01:16 +0000)
committerpaul <paul@plutz.net>
Sat, 20 Dec 2014 01:16:03 +0000 (01:16 +0000)
svn path=/trunk/; revision=28

pages/videoview.sh

index 458d7e8866323812fc99b9d7defdfa2dce427781..738eeb10feddef01506dd860f0308453c19bb694 100755 (executable)
@@ -69,7 +69,7 @@ view() {
   fi
 }
 
-alias urlsave="sed 's:%:\%25:g;s:\?:\%3F:g;s:&:\%26:g;s:'\'':\%27:g;s: :\%20:g;s;!;\%21;g'"
+alias urlsave="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;'"
 
 _printVideo(){
   info="$1"