fix: files percent encoding - WPB-23207#4244
Merged
WilhelmOks merged 2 commits intorelease/cycle-4.14from Feb 3, 2026
Merged
Conversation
Contributor
Test Results2 120 tests 2 093 ✅ 2m 37s ⏱️ Results for commit d7d96bc. ♻️ This comment has been updated with latest results. Summary: workflow run #21631340420 |
jullianm
approved these changes
Feb 2, 2026
Contributor
jullianm
left a comment
There was a problem hiding this comment.
Nice work, thanks for fixing this.
Collaborator
Author
|
Will create a new PR with base |
auto-merge was automatically disabled
February 3, 2026 13:01
Pull request was closed
Collaborator
Author
|
reopening since this should go into 4.14.1 hotfix |
johnxnguyen
approved these changes
Feb 3, 2026
zenkins
pushed a commit
that referenced
this pull request
Feb 3, 2026
This was referenced Feb 3, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Renaming files was adding percent encoding like
%20for space.This was because the file path was wrapped into a URL and then was converted to a String using
.absoluteString.I fixed that by calling
.removingPercentEncodingbefore that string is used.The percent encoding isn't visible in iOS but you can check it in the web app.
I also tested creating folders, moving folders and uploading drafts. None of those cases have that issue in 4.14, so no code needs to be changed there.
We should also test if creating new files for Collabora (templates) is affected, but that feature is not in 4.14.
Testing
Creating, moving and renaming files and folders should not cause the file names to have percent encodings. Percent encodings are only visible in the web app (and probably Android)
Checklist
[WPB-XXX].UI accessibility checklist
If your PR includes UI changes, please utilize this checklist: