Hello,

I would like to stop users from entering things like: 'http' or 'ftp' or just about any tranfer protocol when submitting data.

I have blocked use of the <a> tag and text is entered in a mostly unstyled way.

Is there a white-list module that allows me to block plain text http links as this would really help with spam.

Cheers,

J.

Comments

jrtayloriv’s picture

Check out the Custom Filter module -- it will let you do that.

--J Taylor

jnorton’s picture

Hey thanks for the feedback,

I think custom filter will do what I need with some adaptation.

I was thinking more along the lines of a VERY simple 'white list' filter (no Regex/PHP needed) whereby you enter some text, keywords, URLs, whatever, and the filter will check the post submission for entries in the white list. I will try to make a mock-up soon when I get some spare time.

Thanks again,

Justin.