-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix(f2v): Files list loading with special chars in uid #40313
Conversation
Now correctly encodes single quotes as defined in server/lib/private/User/Manager.php Line 706 in eb55101
|
Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: Christopher Ng <[email protected]>
const client = createClient(rootUrl, { | ||
// Encode valid user id characters | ||
const encodedUrl = encodeURI(rootUrl) | ||
.replaceAll('\'', '%27') |
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.
We should not have to replace quotes, they are allowed in an URL according to rfc2396
I think the webdav have an issue. Here are the exact two same requests:
Without quote in userId | With quote in userId |
---|---|
Superseded by perry-mitchell/webdav-client#360 |
Summary
…/dav/files/test user/
→…/dav/files/test%20user/
Checklist