]> git.plutz.net Git - serve0/commitdiff
escape exclamation mark (!) in urls
authorpaul <paul@plutz.net>
Sat, 20 Dec 2014 00:39:16 +0000 (00:39 +0000)
committerpaul <paul@plutz.net>
Sat, 20 Dec 2014 00:39:16 +0000 (00:39 +0000)
svn path=/trunk/; revision=27

pages/videoview.sh

index 0ec440c23d4c8d2bb4e42d0e27a7b3c6844d2913..458d7e8866323812fc99b9d7defdfa2dce427781 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'"
+alias urlsave="sed 's:%:\%25:g;s:\?:\%3F:g;s:&:\%26:g;s:'\'':\%27:g;s: :\%20:g;s;!;\%21;g'"
 
 _printVideo(){
   info="$1"