Fix hubic_token script to handling % correctly

This commit is contained in:
Michael Baudino
2016-01-15 15:41:39 +04:00
parent c5fc4b9bb3
commit 211ff4e92b
+1 -1
View File
@@ -250,7 +250,7 @@ error()
urlenc()
{
echo "$1" | sed -e 's|%|%21|g' \
echo "$1" | sed -e 's|%|%25|g' \
-e 's|!|%21|g' \
-e 's|#|%23|g' \
-e 's|\$|%24|g' \