The '*' wildcard regex for the who objects aren't accepted like in pmg 7.3 version

JuanCAguilar

Member
Feb 14, 2023
19
3
8
México
www.conafor.gob.mx
Hello to everyone

Recently we upgrade to pmg 8.1, after that the following issue is presenting...

I'm having troubles to add '*' wildcard regex objects in both blacklisted and whitelisted as well as, I did in the pmg 7.3 version. Give you an example...

*@badmail\.bad

When I try the add everything is ok...
1718829120838.png

But when I do the test for the typed regex look...
1718829199905.png

But at the adding time for the object the following error occurs...
invalid regex: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE @badmail\.bad$/ at /usr/share/perl5/PMG/Utils.pm line 1590. (500)
1718829336929.png

Would be this a bug? cause in pmg 7.3 it doesn´t happened.


Greetings

Juan Carlos