Wildcat Media
Well-known member
We have been using regex in "Spam Phrases" to find any link pasted into a site where the string starts with https:// or http:// and it has worked well.
I found a new angle. I found that if someone pastes in a link to a site, like
I tried a test post and in fact, I can do that here if I type in www.xenforo.com -- it will automatically morph into a hyperlink.
I would like to eliminate this source of spam. Now that they've detected how some of us are preventing spam, we need to mitigate this. There are two ideas I came up with:
/^https?:\/\/\S+\n/si
I found a new angle. I found that if someone pastes in a link to a site, like
www.xenforo.com
without the https:// or http:// prefix, it is still being pasted into a post as a hyperlink. Here's one I found twice already (the BBCode view):This is me favorite vapeshop [URL='http://www.aquavape.co.uk']www.aquavape.co.uk[/URL]
I tried a test post and in fact, I can do that here if I type in www.xenforo.com -- it will automatically morph into a hyperlink.
I would like to eliminate this source of spam. Now that they've detected how some of us are preventing spam, we need to mitigate this. There are two ideas I came up with:
- Can we somehow disable this automatic hyperlinking when it is not preceded by http or https? (I'm not sure if it's a function of the editor, or something in XenForo that processes it.)
- Does XenForo process the Spam Phrases after BBCode is generated? I'm thinking that if this is the case, could we filter on the
[url=
BBCode to trap the spam?