The new_req Request object created for fetching
nested sub_slo manifests does not have its
path_info set to the sub_slo path before being
passed to GETorHEAD_base.
The sub manifest GET works fine because
GETorHEAD_base uses its path argument
(not req.path) to set up its connection,
BUT if an exception is thrown,
GETorHEAD_base uses req.path to construct
the log message - so the exception log would
have the wrong path.
Reviewed: https:/ /review. openstack. org/48608 github. com/openstack/ swift/commit/ 8ab06eb8cc08a6f 5905efde5b07cee 3e71805a77
Committed: http://
Submitter: Jenkins
Branch: master
commit 8ab06eb8cc08a6f 5905efde5b07cee 3e71805a77
Author: anc <email address hidden>
Date: Fri Sep 27 10:10:55 2013 +0100
Set path_info in sub_slo manifest GET requests
The new_req Request object created for fetching
nested sub_slo manifests does not have its
path_info set to the sub_slo path before being
passed to GETorHEAD_base.
The sub manifest GET works fine because
GETorHEAD_base uses its path argument
(not req.path) to set up its connection,
BUT if an exception is thrown,
GETorHEAD_base uses req.path to construct
the log message - so the exception log would
have the wrong path.
Fixes bug 1231872
Change-Id: I0f0f969958f814 d8a7053440d9de4 e50796169e4