mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +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) { | ||||
|                 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