Is there a way I can do something similar to @pmFromFile, but return the number of matches from the file instead of just whether there was a match?
I'm trying to block spam comments and it would be really handy to be able to do it this way, instead of writing individual rules for each "bad" keyword.
Thanks in advance,
Sam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't believe we have such functionality currently but it would be very
helpful in the future. Would you be so kind as to open a feature request?
On Sep 24, 2015 10:46 AM, "Sam Hobbs" feathers-mcgraw@users.sf.net wrote:
Hi everyone,
Is there a way I can do something similar to @pmFromFile, but return the
number of matches from the file instead of just whether there was a match?
I'm trying to block spam comments and it would be really handy to be able
to do it this way, instead of writing individual rules for each "bad"
keyword.
Hi everyone,
Is there a way I can do something similar to @pmFromFile, but return the number of matches from the file instead of just whether there was a match?
I'm trying to block spam comments and it would be really handy to be able to do it this way, instead of writing individual rules for each "bad" keyword.
Thanks in advance,
Sam
I don't believe we have such functionality currently but it would be very
helpful in the future. Would you be so kind as to open a feature request?
On Sep 24, 2015 10:46 AM, "Sam Hobbs" feathers-mcgraw@users.sf.net wrote:
Done :)
https://github.com/SpiderLabs/ModSecurity/issues/936