Skip to content

Commit

Permalink
Fix(client#propPatch): Escape *all* occurences of #
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr authored and backportbot-nextcloud[bot] committed Dec 13, 2023
1 parent ac6cc64 commit 3e36bba
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 3e36bba

Please sign in to comment.