Looks like we need to store the decoded version in the
database, not the encoded version...ie: rabbit://the=user:the=password@hostname:5672//
instead of: rabbit://the%3Duser:the%3Dpassword@hostname:5672//
Once we build up the transport_url and transform it into
a string, we just call unquote to convert %xx escapes back
to their single-character equivalent.
Reviewed: https:/ /review. openstack. org/168103 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f16dd6ba95c a59a76cf07f397a 559163e711c84a
Committed: https:/
Submitter: Jenkins
Branch: master
commit f16dd6ba95ca59a 76cf07f397a5591 63e711c84a
Author: Davanum Srinivas <email address hidden>
Date: Thu Mar 26 14:16:36 2015 -0400
Store cells credentials in transport_url properly
Looks like we need to store the decoded version in the
rabbit: //the=user: the=password@ hostname: 5672//
rabbit: //the%3Duser: the%3Dpassword@ hostname: 5672//
database, not the encoded version...ie:
instead of:
Once we build up the transport_url and transform it into
a string, we just call unquote to convert %xx escapes back
to their single-character equivalent.
Closes-Bug: #1406598 c5931ff04e1eaf9 815e3c2fa82
Change-Id: I34be01de08f515