Skip to content

Commit

Permalink
fix: Files list loading with spaces in uid
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Sep 7, 2023
1 parent 2c400db commit c510f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dav/dav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const davRemoteURL = generateRemoteUrl('dav')
* @param remoteURL The DAV server remote URL
*/
export const davGetClient = function(remoteURL = davRemoteURL) {
const client = createClient(remoteURL, {
const client = createClient(encodeURI(remoteURL), {
headers: {
requesttoken: getRequestToken() || '',
},
Expand Down

0 comments on commit c510f40

Please sign in to comment.