mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1218: Allow both lowercase and uppercase for hex values of ByteArrayProperty.
This commit is contained in:
@@ -39,7 +39,7 @@ public abstract class ByteArrayProperty implements GuacamoleProperty<byte[]> {
|
|||||||
|
|
||||||
// Return value parsed from hex
|
// Return value parsed from hex
|
||||||
try {
|
try {
|
||||||
return BaseEncoding.base16().decode(value);
|
return BaseEncoding.base16().decode(value.toUpperCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fail parse if hex invalid
|
// Fail parse if hex invalid
|
||||||
|
Reference in New Issue
Block a user