I am still working on form validation and figure I need to check for profanity in case some prankster wants to get cute with a form. Was looking at Regexp::Common::profanity but wondering how other dancer programmers have handled this in their own projects. Thanks P.S. I know that some are of the mind that filtering for profanity is not worth the effort. I respect that opinion but still want to try.
Hi Richard I haven't had to do this so far, but if I did I would probably look into a service like this https://www.webpurify.com/ which provides an API you can call. Once you decide how to proceed - please let us know! cheers Andrew On Wed, Oct 14, 2015 at 3:14 AM, Richard Reina <gatorreina@gmail.com> wrote:
I am still working on form validation and figure I need to check for profanity in case some prankster wants to get cute with a form. Was looking at Regexp::Common::profanity but wondering how other dancer programmers have handled this in their own projects.
Thanks
P.S. I know that some are of the mind that filtering for profanity is not worth the effort. I respect that opinion but still want to try.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-- Andrew Solomon Mentor@Geekuni http://geekuni.com/ http://www.linkedin.com/in/asolomon
2015-10-14 3:51 GMT-05:00 Andrew Solomon <andrew@geekuni.com>:
Hi Richard
I haven't had to do this so far, but if I did I would probably look into a service like this
which provides an API you can call. Once you decide how to proceed - please let us know!
cheers
Andrew
I decided for now I would go with perl Bad::Words https://metacpan.org/pod/Bad::Words I am not trying to achieve any sort of draconian censorship just trying to avoid the most flagrant violations of offensiveness and for the Bad::Words fits my needs.
participants (2)
-
Andrew Solomon -
Richard Reina