glance/glance
Alan Bishop c5bdc55366 Ensure store ID parsed from URI is properly encoded
Ensure the store ID parsed from a request URI is unicode. This fixes
a py27 issue that allowed an incorrectly encoded value to be added to
the image's metadata.

Support for py27 is dropped in Ussuri, but this fix is required on
earlier releases that do support py27.

Closes-Bug: #1861501
Change-Id: I5a1c61430879a910e7b6c79effba538431959d56
(cherry picked from commit 8649fdc2a2)
2020-01-31 18:18:30 +00:00
..
api Staging area not cleared if image is deleted while importing 2020-01-08 04:45:41 +00:00
async_ Staging area not cleared if image is deleted while importing 2020-01-08 04:45:41 +00:00
cmd Add support for oslo.reports 2019-09-20 05:17:58 +00:00
common Ensure store ID parsed from URI is properly encoded 2020-01-31 18:18:30 +00:00
db Fix INSTR not supported for postgresql 2019-08-21 10:38:14 +00:00
domain Pass kwargs to exception to get better format of error message 2019-04-17 15:15:57 +08:00
hacking Fix DeprecationWarning: invalid escape sequence 2019-09-19 17:34:55 +09:00
image_cache Add periodic job to prefetch images into cache 2019-09-10 15:01:58 +00:00
locale Imported Translations from Zanata 2019-10-03 10:57:48 +00:00
quota Change location metadata key 'backend' to 'store' 2019-08-08 04:52:51 +00:00
registry Merge "Allow glance tests to run on Windows" 2019-03-14 15:30:41 +00:00
tests Staging area not cleared if image is deleted while importing 2020-01-08 04:45:41 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05: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 Adding member to image fails for multiple stores 2019-08-21 08:02:23 +00:00
notifier.py Fix DeprecationWarnings for RequestContext.tenant/user usage 2019-02-06 09:59:36 -05:00
opts.py Revert "Add reserved stores to the sample config file" 2019-09-19 12:40:34 +01:00
schema.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
scrubber.py Change location metadata key 'backend' to 'store' 2019-08-08 04:52:51 +00:00
version.py Add support for oslo.reports 2019-09-20 05:17:58 +00:00