@Matt the proxy app removes swift.authorize from env line 398 swift/proxy/server.py:
- for a manifest get from a container tempurl, the first call to swift.authorize is for the manifest which *is* in the nontainer scope, so authorize_same_container returns None and the proxy removes swift.authorize from env. The subsequent requests to the other container (the segments container) are then not auth'd :(
There is a big in the functional test for this scenario (I think, its late and this is complicated for my small brain!), I will attach a patch which leaves the test test.functional.tests.TestContainerTempurl#test_GET_DLO_outside_container failing due to above I think.
Patch is against master and based on Christian's rebase onto master in #60 with a change to the func test to reveal a failure case.
@Matt the proxy app removes swift.authorize from env line 398 swift/proxy/ server. py:
- for a manifest get from a container tempurl, the first call to swift.authorize is for the manifest which *is* in the nontainer scope, so authorize_ same_container returns None and the proxy removes swift.authorize from env. The subsequent requests to the other container (the segments container) are then not auth'd :(
There is a big in the functional test for this scenario (I think, its late and this is complicated for my small brain!), I will attach a patch which leaves the test test.functional .tests. TestContainerTe mpurl#test_ GET_DLO_ outside_ container failing due to above I think.
Patch is against master and based on Christian's rebase onto master in #60 with a change to the func test to reveal a failure case.