commit 9ec4e61940190624dca71f4024b09226d3f4ed08
Author: Eric Brown <email address hidden>
Date: Mon Sep 21 18:24:11 2015 -0700
Handle 16-char non-uuid user IDs in payload
If a user_id just happens to be of 16 character length, this will
cause the convert_uuid_bytes_to_hex function to improperly return
a UUID value instead of the user_id string unconverted.
This patch modifies the payload to indicate whether the ID was in
fact a UUID and the attempt to convert to bytes was successful.
This change has effect on more than just user IDs. It also resolves
potential issues with project IDs, group IDs, IDP IDs, and scope IDs.
Change-Id: Ia4a4f760d67d8bbc22759c48fc800aef016b84ed
Closes-Bug: #1497461
(cherry picked from commit 794e1510cc91fbe0277e291bc2cabdfba478bef3)
Reviewed: https:/ /review. openstack. org/235142 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=9ec4e619401 90624dca71f4024 b09226d3f4ed08
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 9ec4e6194019062 4dca71f4024b092 26d3f4ed08
Author: Eric Brown <email address hidden>
Date: Mon Sep 21 18:24:11 2015 -0700
Handle 16-char non-uuid user IDs in payload
If a user_id just happens to be of 16 character length, this will uuid_bytes_ to_hex function to improperly return
cause the convert_
a UUID value instead of the user_id string unconverted.
This patch modifies the payload to indicate whether the ID was in
fact a UUID and the attempt to convert to bytes was successful.
This change has effect on more than just user IDs. It also resolves
potential issues with project IDs, group IDs, IDP IDs, and scope IDs.
Change-Id: Ia4a4f760d67d8b bc22759c48fc800 aef016b84ed 0277e291bc2cabd fba478bef3)
Closes-Bug: #1497461
(cherry picked from commit 794e1510cc91fbe