Werk #18300 · Apr 17, 26
Rulesets: Accept valid regex patterns in explicit host conditions
Werk #18988 introduced validation of regex patterns in explicit host
conditions. However, valid regex patterns starting with ~ were
afterwards incorrectly rejected as invalid hostnames: after a successful
regex compile, the code fell through to hostname validation, which
rightfully refused the regex as a host name.
Valid regex patterns are now accepted again. Invalid ones still produce a clear error message, as intended by werk #18491.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0All Editions
- 2.4.0p27All Editions
- 2.3.0p47CommunityProUltimateUltimate + MT