Skip to content

Commit

Permalink
Merge pull request #2673 from nextcloud/backport/2671/stable28
Browse files Browse the repository at this point in the history
[stable28] Fix(client#propPatch): Escape *all* occurences of #
  • Loading branch information
marcelklehr authored Dec 13, 2023
2 parents d0e2694 + bddde3c commit 7de23b2
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 7de23b2

Please sign in to comment.