Skip to content

Commit 3167c8b

Browse files
a-karandashovmikecp
authored andcommitted
encode group name to avoid the issue
1 parent 477697a commit 3167c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/views/content/content.protect.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
function save() {
9494
vm.buttonState = "busy";
95-
var groups = _.map(vm.groups, function (group) { return group.name; });
95+
var groups = _.map(vm.groups, function (group) { return encodeURIComponent(group.name); });
9696
var usernames = _.map(vm.members, function (member) { return member.username; });
9797
contentResource.updatePublicAccess(id, groups, usernames, vm.loginPage.id, vm.errorPage.id).then(
9898
function () {

0 commit comments

Comments
 (0)