commit | 7f6060436960aea309b2e9368959f69e20c22091 | [log] [tgz] |
---|---|---|
author | Adam Gandelman <adamg@ubuntu.com> | Thu Aug 21 17:52:09 2014 -0700 |
committer | Adam Gandelman <adamg@ubuntu.com> | Mon Aug 25 21:58:50 2014 -0700 |
tree | fc81535f0b17adb1ce929914010c1e8b07fcda88 | |
parent | 0ee7e4ca2fb7451b80b7a15fc55275194eb06b58 [diff] |
Ensure proper ordering of XML arguments Random hash ordering can cause the 'encoding' argument to be rendered in the XML string before the 'version' argument, resulting in XML deserialization errors on the Keystone side. This modifies Document's string rendering to not rely on dict ordering when constructing the header tag's version + encoding arguments and avoids XML auth issues when using PYTHONHASHSEED=random. Change-Id: I66d18a2f8da1088ec5d310a43c84df7e4d6a6f6b