mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 22:11:02 +00:00
Mask email names from spammers.
This commit is contained in:
parent
3ea207abfc
commit
e3178c51c7
@ -56,6 +56,10 @@ if __name__ == "__main__":
|
||||
comment = entry.get_text_val("comment", "")
|
||||
wikiuser = entry.get_text_val("wikiuser", "")
|
||||
email = entry.get_text_val("email", "")
|
||||
# Mask email names from spammers
|
||||
email = email.replace("@", "@").replace(".", ".")
|
||||
# Interpret our local conventions for obfuscsting in SVN files
|
||||
email = email.replace("_AT_", "@").replace("_dot_", ".")
|
||||
section.lines.append((name, comment, wikiuser, email))
|
||||
if section.title: sections.append(section)
|
||||
chapters.append((arg, sections))
|
||||
|
Loading…
x
Reference in New Issue
Block a user