Comment 2 for bug 1783290

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/583468
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=818362147d0622752d051bd78ae839497a602e44
Submitter: Zuul
Branch: master

commit 818362147d0622752d051bd78ae839497a602e44
Author: wangxiyuan <email address hidden>
Date: Wed Jul 18 11:30:10 2018 +0800

    Do not quote '+' for token header

    The token in request header may contain url char, such as '+',
    if quote it, '+' will change to '%2B' which will lead to 401 error.

    Our CI doesn't notice this bug because Keystone use fernet token
    which doesn't contain url char by default. But token format in
    keystone is plugable, some out-tree token formats may contain
    url char (for example, PKI/PKIZ token).

    So we should skip quote token to avoiding information changing.

    Closes-bug: #1783290
    Change-Id: I5aa71b3e2b9b19581e46ccf8a80eda5d637f17d1