Bug Tracker

Opened 7 years ago

Closed 7 years ago

#11626 closed bug (duplicate)

KeyError: 'captcha_redirect'

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

How to Reproduce

While doing a POST operation on /, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'26481422d46c21f0941092b4',
 'recaptcha_challenge_field': u'03AHJ_VusZOcOzTz2nOlgXqo3cSZ5BjqNOi0i6ZTxCcvfjqEvSsPKuTur6RR6yHIWJwC3UBjmXvnFDik2RXeruPeE10bPz5N3mgDwAGOBY4gp3uUpelhKV7VR_bobQej1LvLIolvneZ7oaZ2U_wGgsM9MmQ1iXILm5MQ',
 'recaptcha_response_field': u'fephon exfo'}

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.163 Safari/535.19

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.1-py2.6.egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.1-py2.6.egg/trac/web/main.py", line 202, in dispatch
    chosen_handler)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.1-py2.6.egg/trac/web/main.py", line 344, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/local/lib/python2.6/dist-packages/TracSpamFilter-0.4.1dev_r10170-py2.6.egg/tracspamfilter/captcha/api.py", line 119, in pre_process_request
    del req.session['captcha_redirect']
KeyError: 'captcha_redirect'

Change History (1)

comment:1 Changed 7 years ago by Rick Waldron

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.