mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-12-03 21:58:56 +01:00
fix(lib): pad omz_urlencode escapes to two hex digits (#14319)
This commit is contained in:
1 parent
3cf60fdc97
commit
ff3767f564
1 file changed
+1
-1
+1
-1
@@ -231,7 +231,7 @@ function omz_urlencode() {
|
|||||||
url_str+="$byte"
|
url_str+="$byte"
|
||||||
else
|
else
|
||||||
ord=$(( [##16] #byte ))
|
ord=$(( [##16] #byte ))
|
||||||
url_str+="%$ord"
|
url_str+="%${(l:2::0:)ord}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user