Attempting to update an image property or add an image tag with 4 byte unicode returns a 500, not a 400
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Overview:
When attempting to reproduce an the following Launchpad bug (https:/
Steps to reproduce:
1) Import an image
2) Attempt to update the image name, passing in 4 byte unicode via:
curl -i /v2/images/
3) Notice that a 500 response is returned
4) Attempt to add an image tag, passing in 4 byte unicode via:
curl -i /v2/images/
5) Notice that a 500 response is returned
Expected:
A 400 response should be returned
Actual:
A 500 response is returned for both of these operations
Changed in glance: | |
assignee: | nobody → Anand Shanmugam (anand1712) |
status: | New → In Progress |
Changed in glance: | |
assignee: | Anand Shanmugam (anand1712) → nobody |