mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-839: Correct WildcardURIGuacamoleProperty to correctly handle missing (null) properties.
This commit is contained in:
@@ -45,6 +45,9 @@ public abstract class WildcardURIGuacamoleProperty extends URIGuacamoleProperty
|
||||
@Override
|
||||
public URI parseValue(String value) throws GuacamoleException {
|
||||
|
||||
if (value == null)
|
||||
return null;
|
||||
|
||||
// Verify wildcard prefix is present
|
||||
Matcher matcher = WILDCARD_URI_PATTERN.matcher(value);
|
||||
if (matcher.matches()) {
|
||||
|
Reference in New Issue
Block a user