swift tempurl after encoding does not work

asked 2018-03-16 14:43:08 -0500

Sri gravatar image

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 (http://swift-server:8087/v1/AUTH_382d...)

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=4c97bc6cf54f6e1a68954a964ba6c881048acccf&temp_url_expires=1521441122 (http://swift-server:8087/v1/AUTH_382d...)

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!!

edit retag flag offensive close merge delete