From 90366da61b1424d602a302f4ee972a3874f74925 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 3 Mar 2025 19:47:07 -0500 Subject: [PATCH] allow hash in url path rule --- server/lib/validators.ts | 2 +- .../settings/resources/[resourceId]/connectivity/page.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/lib/validators.ts b/server/lib/validators.ts index abb2ebb4..ce677c9c 100644 --- a/server/lib/validators.ts +++ b/server/lib/validators.ts @@ -56,7 +56,7 @@ export function isValidUrlGlobPattern(pattern: string): boolean { // - unreserved (A-Z a-z 0-9 - . _ ~) // - sub-delims (! $ & ' ( ) * + , ; =) // - @ : for compatibility with some systems - if (!/^[A-Za-z0-9\-._~!$&'()*+,;=@:]$/.test(char)) { + if (!/^[A-Za-z0-9\-._~!$&'()*+,;#=@:]$/.test(char)) { return false; } } diff --git a/src/app/[orgId]/settings/resources/[resourceId]/connectivity/page.tsx b/src/app/[orgId]/settings/resources/[resourceId]/connectivity/page.tsx index ea76ddc6..fa72dc8d 100644 --- a/src/app/[orgId]/settings/resources/[resourceId]/connectivity/page.tsx +++ b/src/app/[orgId]/settings/resources/[resourceId]/connectivity/page.tsx @@ -455,8 +455,7 @@ export default function ReverseProxyTargets(props: { SSL Configuration - Setup SSL to secure your connections with Let's - Encrypt certificates + Setup SSL to secure your connections with certificates