deb-glance/glance/db/simple
bhagyashris 6e10f1b4c9 Return BadRequest for 4 byte unicode characters
Various create and update apis are returning 500 error
when you pass 4 byte unicode characters in the request.

This patch fixes the issue to return HTTP 400 Bad Request.

1. md-namespace-create
2. md-namespace-update
3. md-property-create
4. md-property-update
5. md-object-create
6. md-object-update
7. md-tag-create
8. md-tag-update

APIImpact: For all of the above APIs, it will return 400 error instead
of 500 if user passes 4 byte unicode characters in the request.

Closes-Bug: #1570789
Change-Id:  I8233cf95310aa2671ebc62995c58208024fc38a3
2016-04-15 11:24:40 +00:00
..
__init__.py Create 'simple' db driver 2012-06-07 09:20:50 -07:00
api.py Return BadRequest for 4 byte unicode characters 2016-04-15 11:24:40 +00:00