Skip to content

Node.js based forum software built for the modern web

fix redirection when saving groups

barisusaklia926a11e701d
diff --git a/public/src/client/groups/details.js b/public/src/client/groups/details.js
index 316b3083ec..b667176ae9 100644
--- a/public/src/client/groups/details.js
+++ b/public/src/client/groups/details.js
@@ -122,7 +122,7 @@ define('forum/groups/details', ['iconSelect', 'vendor/colorpicker/colorpicker',
if (settings.name) {
var pathname = window.location.pathname;
pathname = pathname.substr(1, pathname.lastIndexOf('/'));
- ajaxify.go(pathname + encodeURIComponent(settings.name));
+ ajaxify.go(pathname + utils.slugify(settings.name));
} else {
ajaxify.refresh();
}