mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41: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
|
// Apply tokens to config parameters
|
||||||
GuacamoleConfiguration filteredConfig = new GuacamoleConfiguration(config);
|
GuacamoleConfiguration filteredConfig = new GuacamoleConfiguration(config);
|
||||||
TokenFilter tokenFilter = new TokenFilter();
|
new TokenFilter(tokens).filterValues(filteredConfig.getParameters());
|
||||||
tokenFilter.filterValues(config.getParameters());
|
|
||||||
|
|
||||||
GuacamoleSocket socket;
|
GuacamoleSocket socket;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user