-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Properly encode returned Webdav URL in ViewController #30503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Affects the URL as displayed in the files app cog icon and also the one returned in the "Webdav-Location" header
Codecov Report
@@ Coverage Diff @@
## master #30503 +/- ##
=========================================
Coverage 61.59% 61.59%
Complexity 18505 18505
=========================================
Files 1090 1090
Lines 61104 61104
=========================================
Hits 37640 37640
Misses 23464 23464
Continue to review full report at Codecov.
|
|
@PVince81 does seem to work like a charm now 👍 I've noticed there's a difference on how the <d:response>
<d:href>/remote.php/dav/files/lun@/tigr@/leon%c3%a9/</d:href>
<d:propstat>Notice how LGTM otherwise. |
|
Yeah, I remember that difference as Sabre has its own encoding logic. I seem to remember that I had to encode the "@" signs to %40 in Javascript else some Webdav backend code would not work correctly. So here I opted for the same approach to keep it safe. Thanks for testing! |
DeepDiver1975
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested 👍
|
backporting .... |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Affects the URL as displayed in the files app cog icon and also the one
returned in the "Webdav-Location" header
Related Issue
Follow up of #30383 (comment)
Motivation and Context
How Has This Been Tested?
Unit tests
Screenshots (if appropriate):
Types of changes
Checklist: