Opened 8 years ago

Closed 7 years ago

#15847 closed Cleanup/optimization (fixed)

Spam control is misconfigured and rejects all anonymous bug reports

Reported by: follower Owned by: nobody
Component: * Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


It appears that if an attempt is made to submit a new ticket without logging in the following error is thrown:

Trac Error

Submission rejected as potential spam (BlogSpam says content is spam (badip:state/blacklist.d/

According to IRC and searches this problem has been occurring for quite a while.

This is a particularly bad problem as it discourages new people from submitting bug reports. (As demonstrated by reading mailing list posts.)

Depending on the browser it potentially leads to data-loss of the report also.

It seems like the actual remote IP of the creator isn't being passed on to the BlogSpam functionality correctly so localhost ( is being used instead.

If this configuration can not be fixed then IMO Trac should be configured to require log in before submission of new tickets.

Change History (3)

comment:1 Changed 8 years ago by Aymeric Augustin

Easy pickings: unset
Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization

This problem does not affect all anonymous bug reports. I just created and closed #15882 after logging out.

I'll classify the ticket as "optimization" since it affects some users, but not all.

comment:2 Changed 7 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:3 Changed 7 years ago by Aymeric Augustin

Resolution: fixed
Status: newclosed

Since I now have more permissions, I could investigate the problem.

First, the configuration problem mentioned by the OP no longer exists. It's probably been fixed independently.

Furthermore, I have tweaked the spam settings to be more permissive with anonymous submissions. For obvious reasons I won't discuss the specifics in public -- please contact me in private if necessary.

Trac keeps one week of history for the spam filter. If you encounter the problem again, please notify use quickly so we can investigate before the logs are purged.

Note: See TracTickets for help on using tickets.
Back to Top