Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-09-01 11:21:40 +0300
committerGitHub <noreply@github.com>2022-09-01 11:21:40 +0300
commit3759502bc197491f581c3550f9b619ab2d1e0433 (patch)
tree7ad2a4fc7543bfb2af1451e39b59339f43b5f29e
parent7eb5650428aa5aee54d926b26c2a5497b13278ae (diff)
parent9f6ec76c66e08ef88dac261858fd5ddcf0154348 (diff)
Merge pull request #2074 from nextcloud/backport/2073/stable23
[stable23] Fix folder with hashtag
-rw-r--r--src/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.js b/src/client.js
index 3666fd8f..d3e426c5 100644
--- a/src/client.js
+++ b/src/client.js
@@ -239,7 +239,7 @@ class AclDavService {
}
const props = {}
props[ACL_PROPERTIES.PROPERTY_ACL_LIST] = aclList
- return client._client.propPatch(client._client.baseUrl + model.path + '/' + model.name, props)
+ return client._client.propPatch(client._client.baseUrl + model.path.replace('#', '%23') + '/' + encodeURIComponent(model.name), props)
}
}