Bug Tracker

Modify

Ticket #11332 (closed bug: invalid)

Opened 15 months ago

Last modified 15 months ago

KeyError: 'captcha_redirect'

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: misc Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

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'f9587050d5c2f937d5ee9335',
 'recaptcha_challenge_field': u'03AHJ_VustwH35-a2NICdiiAkabrReUL8PGRaBEdGwZgiiK9h1fdzyyi9qd1nDKs2v30v_6nv6c3HNI4F7Ky3yy30909rr_ctyIsIjM7hidvXWU1P-UKpMa0PmbogmaCjw-6XnMpyjXstMrCK9sKlmA7LLfZckAGfadQ',
 'recaptcha_response_field': u'edertso married'}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

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

comment:1 Changed 15 months ago by addyosmani

  • Priority changed from undecided to low
  • Component changed from unfiled to misc

comment:2 Changed 15 months ago by addyosmani

  • Status changed from new to closed
  • Resolution set to invalid

I've just tried this again and can no longer reproduce the issue. Closing.

Last edited 15 months ago by addyosmani (previous) (diff)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.