GUACAMOLE-839: Correct WildcardURIGuacamoleProperty to correctly handle missing (null) properties.
This commit is contained in:
1 parent
23a5c9476f
commit
6424b063f2
1 file changed
+3
+3
@@ -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