From 8ae48fa524a3270fcc5f99052e53a14ae31f740e Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sat, 21 Sep 2024 13:23:12 +0000 Subject: [PATCH] api: allow colons (`:`) in url paths --- api/src/processing/service-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/processing/service-config.js b/api/src/processing/service-config.js index 67542e97..f091d448 100644 --- a/api/src/processing/service-config.js +++ b/api/src/processing/service-config.js @@ -176,7 +176,7 @@ export const services = { Object.values(services).forEach(service => { service.patterns = service.patterns.map( pattern => new UrlPattern(pattern, { - segmentValueCharset: UrlPattern.defaultOptions.segmentValueCharset + '@\\.' + segmentValueCharset: UrlPattern.defaultOptions.segmentValueCharset + '@\\.:' }) ) })