From 6e62bfafde3d037f982e2d69b6bdf050e1ae7db1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 20 Dec 2024 11:36:42 +0800 Subject: [PATCH] URL encode directory names in "all files in zip" link Previously, directory names containing special characters (e.g., "[" or "]") would cause HTTP 400 errors due to illegal path characters. Now properly percent-encoding the directory name in the URL to handle special characters. Signed-off-by: Kefu Chai --- .../resources/hudson/model/DirectoryBrowserSupport/dir.jelly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly b/core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly index a50dd9b46cf9..4b7627d88c5c 100644 --- a/core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly +++ b/core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly @@ -114,7 +114,7 @@ THE SOFTWARE.
- + (${%all files in zip})