You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2019/07/31 14:53:10 UTC
[allura:tickets] #8321 Unhandled error in Antispam class
---
** [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.
[allura:tickets] #8321 Unhandled error in Antispam class
Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: in-progress --> review
- **Comment**:
db/8321
---
** [tickets:#8321] Unhandled error in Antispam class**
**Status:** review
**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.
[allura:tickets] #8321 Unhandled error in Antispam class
Posted by Kenton Taylor <kt...@slashdotmedia.com>.
- **status**: review --> closed
---
** [tickets:#8321] Unhandled error in Antispam class**
**Status:** closed
**Milestone:** unreleased
**Created:** Wed Jul 31, 2019 02:53 PM UTC by Dave Brondsema
**Last Updated:** Wed Jul 31, 2019 02:58 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.