mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2097] [MERGED] multipart upload id is converted by url encode #2335
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2335
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2097
Author: @ggtakec
Created: 1/22/2023
Status: ✅ Merged
Merged: 2/18/2023
Merged by: @ggtakec
Base:
master← Head:encode_uploadid📝 Commits (1)
bd8838fmultipart upload id is converted by url encode📊 Changes
6 files changed (+77 additions, -63 deletions)
View changed files
📝
src/curl.cpp(+26 -7)📝
src/curl_util.cpp(+1 -1)📝
src/fdcache_entity.cpp(+1 -1)📝
src/s3fs.cpp(+13 -13)📝
src/string_util.cpp(+33 -39)📝
src/string_util.h(+3 -2)📄 Description
Relevant Issue (if applicable)
#2095
Details
Until reported in #2095, there was no example of using characters that require URL encoding in the upload id specified in a multipart upload.
The upload id is passed as a query parameter in the URL, so it should be URL encoded accordingly.
So I changed the process to URL encode the upload id and pass it as a query parameter.
In this amendment, since the functions related to URL encoding become complicated, I have also changed the function names as follows.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.