Page 1 of 1

Spamfilter to ignore whitespaces

Posted: Wed Aug 26, 2020 4:18 pm
by ivp
To block URLs like:

Code: Select all
we are using /spamfilter regex:

Code: Select all

It worked fine until user started writing URLs like:

Code: Select all

https :// im
So would need to modify regex to:

Code: Select all

Since having 100 different URLs similar to this one, I'm worried this would slow down IRC.

Ideally there would be some option in spamfilter to eat all whitespaces before matching the regexp?