Skip to content

Path unescape the data return in the X-Object-Manifest header#168

Merged
ncw merged 1 commit into
ncw:masterfrom
houtmanj:master
Oct 6, 2021
Merged

Path unescape the data return in the X-Object-Manifest header#168
ncw merged 1 commit into
ncw:masterfrom
houtmanj:master

Conversation

@houtmanj

Copy link
Copy Markdown
Contributor

This fixes an rclone bug 5180 where openstack/swift returned
an url encoded path in the X-Object-Manifest header.

This then caused problems when resolving the segments.

This fixes an rclone bug 5180 where openstack/swift returned
an url encoded path in the X-Object-Manifest header.

This then caused problems when resolving the segments.
@houtmanj houtmanj changed the title Path escape the data return in the X-Object-Manifest header Path unescape the data return in the X-Object-Manifest header Apr 16, 2021

@ncw ncw left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted!

Can you put these in the commit messages

  • a link (URL) to the rclone issue
  • a link to the Swift docs with the changes

I note that if we are URL decoding X-Object-Manifest then we need to url encode it too which we need to do don't we?

@ncw ncw left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay - I'll merge this now - thank you :-)

@ncw ncw merged commit f746922 into ncw:master Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants