Malformed timestamps cause internal crash in activeip API call, instead of proper error message
Bug #1279748 reported by
Morten Brekkevold
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
Medium
|
Morten Brekkevold |
Bug Description
If a malformed timestamp is passed in either the 'starttime' or 'endtime' GET parameters to the /api/activeip API call, the backend crashes with a ParseError from the iso8601 library.
Apparently, the API tries to catch ValueErrors, while the raised error is a ParseError instead.
Changed in nav: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
fix here: https:/ /nav.uninett. no/hg/stable/ rev/a13309166e1 a