Ticket #5383: trac-spamfilter-akismet-author.diff
| File trac-spamfilter-akismet-author.diff, 0.5 KB (added by Nils Maier <MaierMan@…>, 18 months ago) |
|---|
-
tracspamfilter/filters/akismet.py
124 124 125 125 def _post(self, url, req, author, content): 126 126 # Split up author into name and email, if possible 127 if not author: 128 author = 'anonymous' 127 129 author = author.encode('utf-8') 128 130 author_name, author_email = parseaddr(author) 129 131 if not author_name and not author_email:
