1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Removed { from data value

This commit is contained in:
Adolfo Gómez García 2024-05-09 17:15:51 +02:00
parent 4e4218bb47
commit d0d0fef70e
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -174,6 +174,10 @@ public class ConnectionService {
public GuacamoleConfiguration getConnectionConfiguration(String data)
throws GuacamoleException {
// Clean up data { and } characters
// sample valid data: nsgxslnuqvsoyvr8hacmjlezgmyjcjxvbpxiiqgs.ERg5gP0uq10WrnrqpttJJgqWSAFXpR7F
data = data.replace("{", "").replace("}", "");
logger.debug("Retrieving/validating connection configuration using data from \"{}\"...", data);
// Build URI of remote service from the base URI and given data