Does not stop certain spammers posting URLs - Authorized for URLs
Does not stop certain spammers posting URLs
Can anyone help?
-
- Registered User
- Posts: 9
- Joined: Sat Sep 23, 2017 3:16 pm
- Contact:
Re: Does not stop certain spammers posting URLs
Appreciate the extensions/mods/support then buy me a beer
- RMcGirr83
- Former Team Member
- Posts: 22016
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
- Contact:
Re: Does not stop certain spammers posting URLs
Now we have seemingly completely random TLD's allowed by ICAN, this TLD list becomes a little less useful
Could we not just recognize anything with http:// or https:// here instead?
Or can we have an up to date list of all known TLDs (I think this may be difficult)
-
- Registered User
- Posts: 3
- Joined: Sat Aug 04, 2018 11:24 am
- Contact:
Re: Does not stop certain spammers posting URLs
-
- Registered User
- Posts: 802
- Joined: Tue Aug 14, 2007 12:40 pm
- Contact:
Re: Does not stop certain spammers posting URLs
Not my job to supply you with tld lists.phil_highrez wrote:Or can we have an up to date list of all known TLDs (I think this may be difficult)
Appreciate the extensions/mods/support then buy me a beer
- RMcGirr83
- Former Team Member
- Posts: 22016
- Joined: Wed Jun 22, 2005 4:33 pm
- Location: Your display
- Name: Rich McGirr
- Contact:
Re: Does not stop certain spammers posting URLs
I also ran into some trouble with the new TLDs. Instead of adding every single one of those, I slightly modified the regex that blocks the URLs. I changed 201 of event/listener.php to:
Code: Select all
preg_match("#(\S*@\S+|(((?:www.)?\b[a-z0-9\-_]+)\.($disallowed_tld)(\.($disallowed_tld))?\b)|([a-z]{3,6}:\/\/)\S*|www\S*)#i", $check_text, $match);
- Contains an @
- Contains .TLD, where TLD is a disallowed TLD
- Contains www
- Contains somthing of the form abc:// (like http://, https://, ftp://)
-
- Registered User
- Posts: 1
- Joined: Sun Jan 06, 2019 1:21 pm
- Contact:
Re: Does not stop certain spammers posting URLs
How can you do that please ?WWu777 wrote:So they have to make x amount of posts before they can post unmoderated. .
-
- Registered User
- Posts: 16
- Joined: Thu Jan 12, 2012 9:36 am
- Contact: