Files
pangolin/server/routers
kshitijshresth b136bd2246 Escape regex metacharacters in PATH rule wildcard matching
isValidUrlGlobPattern accepts characters like ( ) [ ] { } | . + ^ $ in PATH rule values, but isPathAllowed converted wildcard segments to regex without escaping them. A rule value such as /(api* produced an invalid regex and threw on every request to the resource, surfacing as a 500 from verifySession. Literal characters like . and + also changed matching semantics. isPathAllowed is extracted to server/lib/pathMatch.ts as a pure module, metacharacters are escaped before wildcard substitution, compiled segment regexes are cached, and the test suite now imports the real implementation instead of a stale copy, with added coverage for special characters.
2026-06-12 11:21:21 +03:00
..
2026-02-11 10:06:56 -08:00
2026-05-14 16:59:15 -07:00
2026-06-11 11:11:50 -07:00
2026-06-10 15:50:43 -07:00
2026-04-16 20:58:18 -07:00
2026-06-11 11:11:50 -07:00
2026-01-18 12:19:07 -08:00
2026-06-10 21:41:34 -07:00
2026-06-11 11:11:50 -07:00
2026-06-03 20:14:43 +02:00
2026-05-29 15:23:40 -07:00