Modify ↓
#6433 closed defect (fixed)
SpamFilter has no input validation on Configuration screen in webadmin
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | plugin - spam-filter |
Component: | plugin/spamfilter | Version: | 0.10.4 |
Severity: | major | Keywords: | spamfilter karma validation |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
One of my trac admins changed the Minimum Karma level to "0.5" (ie a half) and now we cannot get back to the configuration screen at http://trac.site.com/admin/spamfilter/config .
The error thrown is:
Internal Error expected integer, got u'0.5'
On trac v 0.10.4 and TracSpamFilter 0.2.1dev-r5943
Attachments (0)
Change History (6)
comment:1 by , 17 years ago
Milestone: | → not applicable |
---|---|
Priority: | normal → low |
comment:2 by , 16 years ago
comment:3 by , 15 years ago
Description: | modified (diff) |
---|---|
Milestone: | not applicable → spam-filter-plugin |
Owner: | removed |
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 14 years ago
I don't know. Was long before my time. I tested it and it works correctly and the code says the same.
Note:
See TracTickets
for help on using tickets.
With the ini-admin plugin, you cound go to the URL "/admin/tracini/spam-filter" and change the "min_karma" setting there (or search for it in your
trac.ini
and edit it there).Nevertheless, if an integer is expected, the plugin should not let anything but an integer through - i.e. that wrong value should not have been saved.