From 7add39fac92686f885b9bc6a1e927317b4e3c0ad Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Wed, 9 Sep 2026 11:03:22 +0000 Subject: [PATCH] fix: Allow bracket characters in repo path validation --- src/utils/repo-path.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/repo-path.ts b/src/utils/repo-path.ts index 22330d275..9c40deb37 100644 --- a/src/utils/repo-path.ts +++ b/src/utils/repo-path.ts @@ -1,6 +1,6 @@ export const MAX_REPO_PATH_LENGTH = 512 -const REPO_PATH_SEGMENT_PATTERN = /^[a-zA-Z0-9._$+-]+$/ +const REPO_PATH_SEGMENT_PATTERN = /^[a-zA-Z0-9._$+\-\[\]()]+$/ export function isValidRepoPath(path: string) { if (path === '') {