mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 22:21:22 +00:00
GUAC-586: Dynamic user page URI components should be encoded.
This commit is contained in:
@@ -91,7 +91,7 @@ angular.module('navigation').factory('userPageService', ['$injector',
|
|||||||
if (connection) {
|
if (connection) {
|
||||||
return new PageDefinition(
|
return new PageDefinition(
|
||||||
connection.name,
|
connection.name,
|
||||||
'/client/c/' + connection.identifier
|
'/client/c/' + encodeURIComponent(connection.identifier)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -102,7 +102,7 @@ angular.module('navigation').factory('userPageService', ['$injector',
|
|||||||
&& _.isEmpty(connectionGroup.childConnectionGroups)) {
|
&& _.isEmpty(connectionGroup.childConnectionGroups)) {
|
||||||
return new PageDefinition(
|
return new PageDefinition(
|
||||||
connectionGroup.name,
|
connectionGroup.name,
|
||||||
'/client/g/' + connectionGroup.identifier
|
'/client/g/' + encodeURIComponent(connectionGroup.identifier)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user