diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-09-01 11:21:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 11:21:40 +0300 |
commit | 3759502bc197491f581c3550f9b619ab2d1e0433 (patch) | |
tree | 7ad2a4fc7543bfb2af1451e39b59339f43b5f29e | |
parent | 7eb5650428aa5aee54d926b26c2a5497b13278ae (diff) | |
parent | 9f6ec76c66e08ef88dac261858fd5ddcf0154348 (diff) |
Merge pull request #2074 from nextcloud/backport/2073/stable23
[stable23] Fix folder with hashtag
-rw-r--r-- | src/client.js | 2 |
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) } } |