Ask Your Question

Revision history [back]

swift tempurl after encoding does not work

I generated a swift temp url like this:

http://swift-server:8087/v1/AUTH_382d78075605417ba668739129780996/mycontainer/myfile.tgz?temp_url_sig=4c97bc6cf54f6e1a68954a964ba6c881048acccf&temp_url_expires=1521441122

This url works meaning, I am able to download the file.

Then i encoded the query string in the url like this: http://swift-server:8087/v1/AUTH_382d78075605417ba668739129780996/mycontainer/myfile.tgz?temp_url_sig%3D4c97bc6cf54f6e1a68954a964ba6c881048acccf%26temp_url_expires%3D1521441122

This url does not work. It gives error "Unauthorized. This server could not verify that you are authorized to access the document you requested."

Is there anything specific that needs to be added in proxy-server.conf file or any swift conf file.

Please help!!