From 40ca19fb3a092e4b5433a05fd64170dcdc4c5955 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 28 Aug 2015 16:34:57 -0700 Subject: [PATCH] GUAC-586: Dynamic user page URI components should be encoded. --- .../main/webapp/app/navigation/services/userPageService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/webapp/app/navigation/services/userPageService.js b/guacamole/src/main/webapp/app/navigation/services/userPageService.js index e9239d796..daefb4707 100644 --- a/guacamole/src/main/webapp/app/navigation/services/userPageService.js +++ b/guacamole/src/main/webapp/app/navigation/services/userPageService.js @@ -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) ); }