api: allow colons (:) in url paths

This commit is contained in:
dumbmoron 2024-09-21 13:23:12 +00:00
parent d560c0d34a
commit 8ae48fa524
No known key found for this signature in database

View file

@ -176,7 +176,7 @@ export const services = {
Object.values(services).forEach(service => { Object.values(services).forEach(service => {
service.patterns = service.patterns.map( service.patterns = service.patterns.map(
pattern => new UrlPattern(pattern, { pattern => new UrlPattern(pattern, {
segmentValueCharset: UrlPattern.defaultOptions.segmentValueCharset + '@\\.' segmentValueCharset: UrlPattern.defaultOptions.segmentValueCharset + '@\\.:'
}) })
) )
}) })