Merge 1.2.0 changes back to master.

This commit is contained in:
Michael Jumper
2020-06-24 18:03:16 -07:00

View File

@@ -32,6 +32,10 @@ public abstract class URIGuacamoleProperty implements GuacamoleProperty<URI> {
@Override @Override
public URI parseValue(String value) throws GuacamoleException { public URI parseValue(String value) throws GuacamoleException {
// If nothing is provided, just return null.
if (value == null)
return null;
try { try {
return new URI(value); return new URI(value);
} }