From ff3767f564b604b87fac9b495025f001bb80c4d9 Mon Sep 17 00:00:00 2001 From: Divya <12871391+divya0795@users.noreply.github.com> Date: Wed, 2 Dec 2026 06:02:34 -0800 Subject: [PATCH] fix(lib): pad `omz_urlencode` escapes to two hex digits (#14319) --- lib/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.zsh b/lib/functions.zsh index 0a45d6a47..3ef9a360e 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -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