Comment 4 for bug 1190625

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

Reviewed: https://review.openstack.org/435771
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=107ba797708e07071028e021f2a261151562c9d7
Submitter: Jenkins
Branch: master

commit 107ba797708e07071028e021f2a261151562c9d7
Author: Romain LE DISEZ <email address hidden>
Date: Sat Feb 18 16:22:11 2017 +0100

    Rewrite redirection in cname_lookup & domain_remap

    cname_lookup and domain_remap are currently not catching redirections
    (eg: staticweb). This behavior makes the domain to change when a call
    through cname_lookup and domain_remap end up being redirected. Example:
    commit fixes it.
     - original request: http://mysite.com/subdir
     - redirected: http://cont.acct.storage.domain.com/v1/AUTH_acct/cont/subdir/
     - expected: http://mysite.com/subdir/

    This patch is fixing this.

    Closes-Bug: #1190625
    Co-Authored-By: Tim Burke <email address hidden>
    Change-Id: I67f642b8b070bc21e7760477d0a1e3b902ba7896