#8321 Unhandled error in Antispam class

v1.12.0
closed
None
General
nobody
2019-10-04
2019-07-31
No

If a form submission uses our Antispam class, and the honeypot field is missing, this error is raised and not handled:

File '/var/local/allura/Allura/allura/lib/utils.py', line 401 in antispam_hook
  new_params = cls.validate_request(params=params)
File '/var/local/allura/Allura/allura/lib/utils.py', line 385 in validate_request
  value = new_params.pop('honey%s' % fldno)
KeyError: 'honey0'

Discussion

  • Dave Brondsema

    Dave Brondsema - 2019-07-31
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2019-07-31

    db/8321

     
  • Kenton Taylor

    Kenton Taylor - 2019-07-31
    • status: review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2019-10-04
    • Milestone: unreleased --> v1.12.0
     

Log in to post a comment.