Files
pangolin/server/lib
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-06-10 16:27:25 -07:00
2026-06-11 11:11:50 -07:00
2025-12-09 10:56:14 -05:00
2025-12-09 10:56:14 -05:00
2025-12-20 12:16:31 -05:00
2026-05-21 14:43:50 -07:00
2026-04-21 21:48:54 -07:00
2025-10-27 10:43:44 -07:00
2025-12-09 10:56:14 -05:00
2026-03-23 17:23:51 -07:00
2025-10-04 18:36:44 -07:00
2026-05-29 17:12:26 -07:00
2025-10-10 11:27:15 -07:00
2026-03-10 14:24:57 -07:00
2026-04-23 18:02:32 -07:00
2025-12-09 10:56:14 -05:00
2026-02-02 21:39:18 -08:00
2025-12-09 10:56:14 -05:00
2026-06-11 11:11:50 -07:00
2025-11-20 12:40:25 -05:00
2025-12-09 10:56:14 -05:00
2026-04-15 14:41:13 -07:00
2025-12-09 10:56:14 -05:00
2025-12-09 10:56:14 -05:00
2026-04-15 14:41:13 -07:00
2026-04-23 14:05:08 -07:00
2025-12-09 10:56:14 -05:00
2026-02-25 16:04:47 -08:00
2025-12-09 10:56:14 -05:00
2026-06-11 11:11:50 -07:00
2026-04-15 14:41:13 -07:00