GUAC-586: Dynamic user page URI components should be encoded.
This commit is contained in:
1 parent
28092b9b23
commit
40ca19fb3a
1 file changed
+2
-2
@@ -91,7 +91,7 @@ angular.module('navigation').factory('userPageService', ['$injector',
|
||||
if (connection) {
|
||||
return new PageDefinition(
|
||||
connection.name,
|
||||
'/client/c/' + connection.identifier
|
||||
'/client/c/' + encodeURIComponent(connection.identifier)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ angular.module('navigation').factory('userPageService', ['$injector',
|
||||
&& _.isEmpty(connectionGroup.childConnectionGroups)) {
|
||||
return new PageDefinition(
|
||||
connectionGroup.name,
|
||||
'/client/g/' + connectionGroup.identifier
|
||||
'/client/g/' + encodeURIComponent(connectionGroup.identifier)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user