Skip to content

Commit

Permalink
Test blacklisted websites against usernames
Browse files Browse the repository at this point in the history
See discussion in Charcoal HQ going back from
https://chat.stackexchange.com/transcript/message/65375265#65375265
Basically, it's unclear why BL websites were excluded from usernames
back on 2015-06-26. I found no discussion on why in Charcoal HQ, nor
an issue on GH.

At this point, some spammers definitely use their website as their
username. Our CI testing already checks for no duplication between
BL websites and BL usernames. It doesn't seem reasonable for us to
need to maintain the website entry in both BL websites and BL
usernames. Jeff Schaller has already tested all of the BL websites
against "body OR title OR username" across all post records on MS.

autopull
  • Loading branch information
makyen committed Mar 20, 2024
1 parent a47f808 commit 53e57af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findspam.py
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ def religion_troll(s, site):
})
FindSpam.rule_blacklisted_websites = create_rule("blacklisted website in {}", regex="", body_summary=True,
max_rep=52, max_score=5, skip_creation_sanity_check=True,
rule_id="main blacklisted websites")
username=True, rule_id="main blacklisted websites")
FindSpam.rule_blacklisted_usernames = create_rule("blacklisted username", regex="",
title=False, body=False, username=True,
skip_creation_sanity_check=True,
Expand Down

0 comments on commit 53e57af

Please sign in to comment.