Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
URL encode the Destination: header for server side COPY
According to the documentation for object COPY: https://developer.openstack.org/api-ref/object-store/ > Destination header string > > The container and object name of the destination object in the form > of /container/object. You must UTF-8-encode and then URL-encode the > names of the destination container and object before you include > them in this header. Before this patch it was not URL encoded which is out of specification. This causes problems doing server side copies of files with valid URL escape codes in, (eg `%32`).
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters