Reviewed: https://review.openstack.org/530083 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=8dba796806eb6cebaa1d0a3e29e8e0584b371180 Submitter: Zuul Branch: master
commit 8dba796806eb6cebaa1d0a3e29e8e0584b371180 Author: Abhishek Kekane <email address hidden> Date: Tue Dec 26 09:45:53 2017 +0000
Fix 500 if custom property name is greater than 255
If user passes property 'key' greater than 255 characters then it fails with 500 error.
Modified request deserializer to check if custom property key is greater than 255 characters then raise HTTPBadRequest with appropriate error message.
Change-Id: I1d24ff4812315b590675452891ab4d51e8c836a2 Closes-Bug: #1737952
Reviewed: https:/ /review. openstack. org/530083 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=8dba796806e b6cebaa1d0a3e29 e8e0584b371180
Committed: https:/
Submitter: Zuul
Branch: master
commit 8dba796806eb6ce baa1d0a3e29e8e0 584b371180
Author: Abhishek Kekane <email address hidden>
Date: Tue Dec 26 09:45:53 2017 +0000
Fix 500 if custom property name is greater than 255
If user passes property 'key' greater than 255 characters
then it fails with 500 error.
Modified request deserializer to check if custom property key
is greater than 255 characters then raise HTTPBadRequest with
appropriate error message.
Change-Id: I1d24ff4812315b 590675452891ab4 d51e8c836a2
Closes-Bug: #1737952