mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUACAMOLE-524: Correct handling of tokens within SimpleConnection. The copy of the configuration should be filtered, not the original, and token values need to actually be set.
This commit is contained in:
		| @@ -113,8 +113,7 @@ public class SimpleConnection extends AbstractConnection { | ||||
|  | ||||
|         // Apply tokens to config parameters | ||||
|         GuacamoleConfiguration filteredConfig = new GuacamoleConfiguration(config); | ||||
|         TokenFilter tokenFilter = new TokenFilter(); | ||||
|         tokenFilter.filterValues(config.getParameters()); | ||||
|         new TokenFilter(tokens).filterValues(filteredConfig.getParameters()); | ||||
|  | ||||
|         GuacamoleSocket socket; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user