joshfrench / rakismet

Easy Akismet and TypePad AntiSpam integration for Rails
MIT License
355 stars 46 forks source link

rakismet sends comment_type parameter value of "comment_type" instead of "comment" #2

Closed athomason closed 14 years ago

athomason commented 14 years ago

Most other clients send "comment" in the "comment_type" field for comments; rakismet sends "comment_type" instead. This isn't technically an error, but for consistency it would be nice to fix.

From http://akismet.com/development/api/: comment_type May be blank, comment, trackback, pingback, or a made up value like "registration".

joshfrench commented 14 years ago

Rakismet shouldn't even be passing that param unless it's explicitly set by the developer. Are you seeing this consistently? Is it tied to a specific version number? The Rakismet version should be available in the User-Agent header, if you've got access to that data.

athomason commented 14 years ago

Both "Rails/2.3.4 | Rakismet/0.2.2" and "Rails/2.3.5 | Rakismet/0.2.2" show up as UA strings. On closer inspection though, it appears limited to a particular client, so an implementation issue does seem likely. Thanks.