Glance image list API does not validate filter values

Bug #919250 reported by Unmesh Gurjar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Christopher MacGown

Bug Description

Glance image list API does not validate filter values. If a filter parameter is provided with an invalid value, the API returns a OK(200) response. The API should validate the filter parameters in the request and return a BadRequest(400) for invalid parameters.

Example:
http://localhost:9292/v1/images?size_max=-1

Jay Pipes (jaypipes)
Changed in glance:
status: New → Triaged
importance: Undecided → Medium
Changed in glance:
assignee: nobody → Christopher MacGown (0x44)
status: Triaged → In Progress
Revision history for this message
Christopher MacGown (0x44) wrote :
Changed in glance:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon)
Changed in glance:
milestone: none → essex-4
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-4 → 2012.1
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.