Purifier icon indicating copy to clipboard operation
Purifier copied to clipboard

disable email / domain names / domains in User Input using regexp

Open chriz74x opened this issue 8 years ago • 0 comments

I am looking at a way to do this but I didn't find a solution. I tried to add this to default to try disable email:

'Attr.IDBlacklistRegexp' => '/^[a-zA-Z0-9.!#$%&’*+/=?^_{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$/',`

but it's not working, user can input email and get it published. What is the method of doing thi?

chriz74x avatar Apr 26 '17 15:04 chriz74x