Commit Graph

6 Commits

Author SHA1 Message Date
Kristian Bremberg
6580bf8f6e Refactor regex pattern validation to use timeout-based approach (#2090)
- Remove isPathologicalRegex function and replace with MatchTimeout
- Simplify parseFilter by relying on runtime timeout protection
- Add comprehensive timeout test for pathological regex patterns
- Set 5-second timeout for all compiled regex operations
2025-09-24 14:27:16 +02:00
Zoltán Bedi
5db35450a2 Fix: Remove regex pattern length restriction (#2087)
In this PR I removed the regex pattern length restriction because from
multi value variables this length can be easly reached, also if the
regex is going to be too long it will be caught in the timeout.

Fixes #2086
2025-09-23 11:51:31 +02:00
Zoltán Bedi
6a1d3b6abe Add regex safety checks and tests for pathological patterns (#2083) 2025-09-17 23:16:55 +02:00
Daniel Poßmann
4fa13c9b87 extended parseFilter tests 2022-07-07 14:28:55 +02:00
Alexander Zobnin
0a4714f9e9 Fix parsing regex, #1318 2022-02-16 17:59:56 +03:00
Alexander Zobnin
78fe0dd7a9 Fix expanding item name with unicode params, fixes #1269 2021-08-25 12:06:25 +03:00