Some bad parameters do not return 4xx
Bug #1254638 reported by
Daisuke Morita
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Won't Fix
|
Wishlist
|
Ankur Jain |
Bug Description
In some cases, a request with an invalid parameter does not return 4xx, but 2xx.
For example, GET method to list containers or objects with the invalid "limit" parameter such as "?limit=no_integer" is expected to return 400. However, its response is 200 because an invalid parameter is not reported but ignored.
The only reasonable invalid parameter I can think of a client would be sending is "?limit=" - essentially empty string.
Changed in swift: | |
assignee: | nobody → anju Tiwari (anjutiwari5) |
tags: | added: needs-new-api |
Changed in swift: | |
assignee: | anju Tiwari (anjutiwari5) → Ankur Jain (j-ankur) |
Changed in swift: | |
status: | In Progress → Won't Fix |
To post a comment you must log in.
What does the Account Listing REST API documentation about the limit parameter values?