GUACAMOLE-839: Correct WildcardURIGuacamoleProperty to correctly handle missing (null) properties.

This commit is contained in:
Michael Jumper
2023-03-08 09:34:26 -08:00
parent 23a5c9476f
commit 6424b063f2

View File

@@ -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()) {