Mask email names from spammers.

This commit is contained in:
Eric S. Raymond 2009-10-30 10:24:58 +00:00
parent 3ea207abfc
commit e3178c51c7

View File

@ -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))