---

** [tickets:#8321] Unhandled error in Antispam class**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Jul 31, 2019 02:53 PM UTC by Dave Brondsema
**Last Updated:** Wed Jul 31, 2019 02:53 PM UTC
**Owner:** Dave Brondsema


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'
```


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to