mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-12-02 21:33:04 +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"
|
||||
else
|
||||
ord=$(( [##16] #byte ))
|
||||
url_str+="%$ord"
|
||||
url_str+="%${(l:2::0:)ord}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user