Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5902

No checks for incorrect global regexp typed

XMLWordPrintable

      After implementing ZBX-5127 there is one problem.

      For example I wrote incorrect regexp "^(?\/proc)"
      When I'm trying to save it in 2.0 branch - I'm getting an error:
      "preg_match(): Compilation failed: unrecognized character after (? or (?- at offset 3 [include/forms.inc.php:1766]"

      Note - unfortunately it's even possible to save it (I mean 2.0.* here), which also not very good, I'd prefer it should NOT be possible.

      But in trunk branch there NO any warnings/errors, and when I open "Test" tab I see only a "progress bar" which newer ends.

      So, sort of regression

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: