﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
5986,req.args.get('email') returns a list,defect,0.11,,new,2009-10-16T10:13:37+02:00,2015-04-22T19:51:21+02:00,"I don't know where the bug is, but captcha plugin fails when an anonymous user try to create (or just preview) a ticket.

here is the traceback:
{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.5/site-packages/trac/web/main.py"", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.5/site-packages/trac/web/main.py"", line 175, in dispatch
    chosen_handler)
  File ""/usr/lib/python2.5/site-packages/trac/web/main.py"", line 295, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File ""/usr/lib/python2.5/site-packages/CaptchaAuth-0.6-py2.5.egg/captchaauth/auth.py"", line 98, in pre_process_request
    name, email = self.identify(req)
  File ""/usr/lib/python2.5/site-packages/CaptchaAuth-0.6-py2.5.egg/captchaauth/auth.py"", line 378, in identify
    email = req.args.get('email', '').strip()
AttributeError: 'list' object has no attribute 'strip'
}}}

After some debugging, req.args.get('email', '') returns a list like that [u'', u'test@test.com'] if I put test@test.com in email field.

trac-0.11.5
accountManager-0.2.1dev-r4679",asterix@…
