diff options
| author | imacdonn <iain.macdonnell@oracle.com> | 2018-11-01 21:36:11 +0000 |
|---|---|---|
| committer | iain MacDonnell <iain.macdonnell@oracle.com> | 2018-11-16 01:41:00 +0000 |
| commit | e0673a17fd684ca29ae6674f2df6303f99c79bce (patch) | |
| tree | 5cee1c5eda1e30030b4218a9c043e8c3d68ac026 /setup.py | |
| parent | 395d0f157bed9dbc4e6e125f21e8b1879c26ccdb (diff) | |
| download | python-glanceclient-2.13.1.tar.gz | |
Don't quote colon in HTTP headers2.13.1
Since the introduction of quoting of header content in
https://review.openstack.org/568698, the 'x-image-meta-location' header
has been broken, because urllib.quote() is really intended to be applied
to only the path section of a URL, but in this case, it gets applied to
the entire URL, and catches the colon that separates the scheme from the
remainder of the URL.
This change adds the colon to the list of characters that should not get
quoted. Since a colon can be directly represented in ASCII, this should
not invalidate the previous change.
Change-Id: I76a1c9a361b6c9f6eb95ae766b8c3bcf2267703a
Closes-Bug: #1788942
(cherry picked from commit 1156346dc243dc46bcc7c78a64454ff4bae7ddc5)
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
