incorrect int query params causes zope error
Bug #1044198 reported by
Nathan Van Gheem
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
You can test on any zope2 install and produce an error: http://
I suggest if the :int param can't be converted to integer, then it should just be assigned bstart:int = string value.
To post a comment you must log in.
I changed the title and removed the "crash" statement. All I get is a simple ValueError with the normal error handling kicking in. The same happens for a number of other converters when presented with invalid input.
I'm not sure I'd change anything here at all. But I'd prefer an explicit exception over some guessing or partial data conversion.