commit 2113dfd2e495fd9b4447522c8f0b6433609996b0
Author: Chris Yeoh <email address hidden>
Date: Wed Nov 20 23:24:57 2013 +1030
Handle UnicodeEncodeError in validate_integer
validate_integer can be potentially passed user
supplied data which causes a UnicodeEncodeError
exception during validation rather than just ValueError.
This change handles the UnicodeEncode exception
so validate_integer treats it as invalid input.
Reviewed: https:/ /review. openstack. org/57436 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2113dfd2e49 5fd9b4447522c8f 0b6433609996b0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2113dfd2e495fd9 b4447522c8f0b64 33609996b0
Author: Chris Yeoh <email address hidden>
Date: Wed Nov 20 23:24:57 2013 +1030
Handle UnicodeEncodeError in validate_integer
validate_ integer can be potentially passed user
supplied data which causes a UnicodeEncodeError
exception during validation rather than just ValueError.
This change handles the UnicodeEncode exception
so validate_integer treats it as invalid input.
Change-Id: I5177789299b024 48ed53e1b7fc23c cdaee1b70d3
Partial-Bug: 1243037