GUACAMOLE-1218: Allow both lowercase and uppercase for hex values of ByteArrayProperty.

This commit is contained in:
Michael Jumper
2021-09-16 19:21:32 -07:00
parent 002cfded80
commit 8f3172e4f6

View File

@@ -39,7 +39,7 @@ public abstract class ByteArrayProperty implements GuacamoleProperty<byte[]> {
// Return value parsed from hex
try {
return BaseEncoding.base16().decode(value);
return BaseEncoding.base16().decode(value.toUpperCase());
}
// Fail parse if hex invalid