Skip to content

Commit

Permalink
SAK-45109: Webcomponents: Problem with save permissions (sakaiproject…
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusmmp authored Mar 2, 2021
1 parent 0684561 commit 4037fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webcomponents/tool/src/main/frontend/js/sakai-permissions.js
Original file line number Diff line number Diff line change
@@ -165,9 +165,9 @@ class SakaiPermissions extends SakaiElement {
const params = `ref=${this.groupReference}&` + Array.from(boxes).reduce((acc,b) => {

if (b.checked) {
return acc + `${b.id}=true&`;
return acc + `${encodeURIComponent(b.id)}=true&`;
} else {
return acc + `${b.id}=false&`;
return acc + `${encodeURIComponent(b.id)}=false&`;
}
}, "");

0 comments on commit 4037fc5

Please sign in to comment.