Comments should record User-Agent
|Reported by:||hanksims||Owned by:||nobody|
|Severity:||Keywords:||comment spam akismet|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
django.contrib.comments records the remote IP address of a commenter; perhaps it should record the commenter's User-Agent as well.
Djangonauts can make use of the two big anti-comment-spam services -- Akismet and Typepad -- without too much trouble. However, they will have trouble contributing back to those services if they are using contrib.comments. Both services require flagged spam submissions to include the User-Agent of the spammer.
See "Comment Check" and "Submit Spam" in the Akismet API docs -- http://akismet.com/development/api/.
So I can check comments on my site for spam as they come in with Typepad, because I'll have access to the submitter's IP and User-Agent in the request object. But if a bit of spam makes it past Typepad, I can't notify Typepad of it because contrib.comments hasn't recorded the commenter's User-Agent.