Skip to content

Commit

Permalink
Merge pull request #2675 from nextcloud/backport/2671/stable26
Browse files Browse the repository at this point in the history
[stable26] Fix(client#propPatch): Escape *all* occurences of #
  • Loading branch information
marcelklehr authored Dec 13, 2023
2 parents ac6cc64 + 3e36bba commit 165ebe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class AclDavService {
}
const props = {}
props[ACL_PROPERTIES.PROPERTY_ACL_LIST] = aclList
return client._client.propPatch(client._client.baseUrl + model.path.replace('#', '%23') + '/' + encodeURIComponent(model.name), props)
return client._client.propPatch(client._client.baseUrl + model.path.replaceAll('#', '%23') + '/' + encodeURIComponent(model.name), props)
}

}
Expand Down

0 comments on commit 165ebe3

Please sign in to comment.