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
Reviewed: https:/ /review. openstack. org/435771 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=107ba797708 e07071028e021f2 a261151562c9d7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 107ba797708e070 71028e021f2a261 151562c9d7
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 mysite. com/subdir cont.acct. storage. domain. com/v1/ AUTH_acct/ cont/subdir/ mysite. com/subdir/
(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://
- redirected: http://
- expected: http://
This patch is fixing this.
Closes-Bug: #1190625 21e7760477d0a1e 3b902ba7896
Co-Authored-By: Tim Burke <email address hidden>
Change-Id: I67f642b8b070bc