commit 18a6f7ced0f5d2c6293ca06470a7fab45a11e833
Author: Matt Riedemann <email address hidden>
Date: Sat Nov 16 14:04:32 2013 -0800
Enforce metadata string type on key/value pairs
The compute API is currently enforcing quota limits for user metadata
and length restrictions on the dict entries, but is not enforcing that
they are string types. This patch adds the checks for string type on the
keys and values in the metadata dict.
Reviewed: https:/ /review. openstack. org/56793 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=18a6f7ced0f 5d2c6293ca06470 a7fab45a11e833
Committed: https:/
Submitter: Jenkins
Branch: master
commit 18a6f7ced0f5d2c 6293ca06470a7fa b45a11e833
Author: Matt Riedemann <email address hidden>
Date: Sat Nov 16 14:04:32 2013 -0800
Enforce metadata string type on key/value pairs
The compute API is currently enforcing quota limits for user metadata
and length restrictions on the dict entries, but is not enforcing that
they are string types. This patch adds the checks for string type on the
keys and values in the metadata dict.
Closes-Bug: #1240319
Change-Id: Ic4aacc342cf37d 929871287e6e491 7f4f48b63e8