glance/glance
neha.pandey 05e9bdb656 Fix member create to handle unicode characters
If user passes member id as unicode characters in member create then
HTTP 500 internal server error is raised.
Reason: The unicode format check is not performed in db create member.

This patch fixes the member create by checking member id before
inserting in db. If member id is unicode then proper exception
is raised and same is handled in controller api.

Change-Id: I67be5e990d1269cbb986db7fff21a90a41af06e4
Closes-Bug: #1688189
2017-12-26 19:42:05 +00:00
..
api Fix member create to handle unicode characters 2017-12-26 19:42:05 +00:00
async Merge "Changes behaviour when an image fails uploading" 2017-12-01 08:11:01 +00:00
cmd Remove use of deprecated optparse module 2017-10-01 07:08:00 -05:00
common Correct related section for enable_image_import 2017-11-17 18:33:45 +00:00
db Fix member create to handle unicode characters 2017-12-26 19:42:05 +00:00
domain Prevent image become active without disk and container formats 2017-12-07 03:41:40 +00:00
hacking Make i18n log translation functions as no-op 2017-06-21 16:14:15 +07:00
image_cache Handle file delete races in image cache 2017-07-10 11:37:55 -05:00
locale Imported Translations from Zanata 2017-06-24 10:32:07 +00:00
quota Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
registry Deprecate Registry and it's config opts 2017-10-13 16:09:06 +01:00
tests Fix member create to handle unicode characters 2017-12-26 19:42:05 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Use new oslo.context arg names 2017-11-27 10:20:10 -06:00
gateway.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
i18n.py Make i18n log translation functions as no-op 2017-06-21 16:14:15 +07:00
location.py Merge "Fixed indentation" 2016-10-20 14:36:35 +00:00
notifier.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
opts.py Glare-ectomy 2017-03-01 21:46:52 +00:00
schema.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
scrubber.py Handling scrubber's exit in non-daemon mode. 2017-01-31 20:06:47 +00:00
version.py Remove vim header 2014-01-14 16:03:28 +00:00