Werk #22790 · Oct 19, 26
Rule search: survive invalid host regex
If a rule had an explicit host condition with an invalid regular
expression, for example ~*foo, searching rules by host in the
rule search crashed with error: nothing to repeat at position 0.
The search now shows a warning that links to the affected rule, as it already did for invalid regular expressions in service conditions and in the full text search, and continues with the other rules.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 2.4.0p39All Editions