mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Merge 1.2.0 changes back to master.
This commit is contained in:
@@ -32,6 +32,10 @@ public abstract class URIGuacamoleProperty implements GuacamoleProperty<URI> {
|
||||
@Override
|
||||
public URI parseValue(String value) throws GuacamoleException {
|
||||
|
||||
// If nothing is provided, just return null.
|
||||
if (value == null)
|
||||
return null;
|
||||
|
||||
try {
|
||||
return new URI(value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user