Add a deprecation comment.

This commit is contained in:
Andrew Janke
2015-08-09 16:37:12 -04:00
parent 14b4ba83c3
commit 96c34cebae
2 changed files with 6 additions and 2 deletions

View File

@@ -176,7 +176,6 @@ function omz_urldecode {
emulate -L zsh
local encoded_url=$1
echo -e input $1
# Work bytewise, since URLs escape UTF-8 octets
local caller_encoding=$langinfo[CODESET]
local LC_ALL=C
@@ -188,7 +187,6 @@ function omz_urldecode {
tmp=${tmp:gs/\\/\\\\/}
# Handle %-escapes by turning them into `\xXX` printf escapes
tmp=${tmp:gs/%/\\x/}
echo -E "before decode $tmp"
local decoded
eval "decoded=\$'$tmp'"