Malformed timestamps cause internal crash in activeip API call, instead of proper error message

Bug #1279748 reported by Morten Brekkevold
6
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.

Tags: api
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.