]> git.proxmox.com Git - pmg-api.git/commit
make API/regextest match case-insensitive
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 28 May 2020 11:03:09 +0000 (13:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jun 2020 17:33:08 +0000 (19:33 +0200)
commit96144e676b9e7a1a4507f97920590757f706434d
tree90ee0ee28af9a10730df354dbb2f0d1ce53b0138
parent658384c576f149d40cb456c7fb60e3f484783c4e
make API/regextest match case-insensitive

The regext test api route is used when editing the following objects in the
rulesystem:
* WhoRegex
* MatchField
* MatchFilename
* MatchArchiveFilename

(list compiled by grepping (-i) for regextest in pmg-gui)

all of those objects are matched case-insensitively when a mail is processed
so the testing should also match case-insensitively.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/API2/Config.pm