cinder/cinder/api
Valeriy Ponomaryov f39eeebf6e Fix handling of serialized data in filtering of volumes
Commit 4aaf40ba1a has introduced a bug.
'ast.literal_eval(v)' throws exception 'SyntaxError' if 'v' is an expression
such as UUID '920da701-93c1-4178-9f1a-ef1c7a8a384d', 'd-', or 'd+'.
Catch the 'SyntaxError' exception in addition to 'ValueError' and
assume 'v' is a string. So the API can handle the request successfully
rather than returning a '500' error code.

Change-Id: Ib50cf3be41ae96ed1f9ef0463ced71443e59061c
Closes-Bug: #1406504
2014-12-30 19:36:53 +02:00
..
contrib Added volume type description for volume type API 2014-12-16 18:13:24 -08:00
middleware Switch to oslo.serialization 2014-11-19 15:49:03 +08:00
openstack Added volume type description for volume type API 2014-12-16 18:13:24 -08:00
schemas Add XML deserializer for qos_manage delete_keys API 2014-05-25 11:37:30 +08:00
v1 Fix handling of serialized data in filtering of volumes 2014-12-30 19:36:53 +02:00
v2 Fix handling of serialized data in filtering of volumes 2014-12-30 19:36:53 +02:00
views Added volume type description for volume type API 2014-12-16 18:13:24 -08:00
__init__.py Implementing the use of _L’x’/i18n markers 2014-12-09 10:03:29 +00:00
common.py Use urllib.urlencode instead of dict_to_query_str 2014-11-01 20:56:44 +02:00
extensions.py Implementing the use of _L’x’/i18n markers 2014-12-09 10:03:29 +00:00
urlmap.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
versions.py Deprecate the V1 API 2014-09-04 20:24:37 -07:00
xmlutil.py Deprecate the V1 API 2014-09-04 20:24:37 -07:00