lower casing fingerprints when parsing URI

This commit is contained in:
Daniel Gultsch 2016-11-18 13:02:33 +01:00
parent 211354ee26
commit 99a41265b8

View file

@ -85,7 +85,7 @@ public class XmppUri {
String[] parts = pair.split("=",2);
if (parts.length == 2) {
String key = parts[0].toLowerCase(Locale.US);
String value = parts[1];
String value = parts[1].toLowerCase(Locale.US);
if (OTR_URI_PARAM.equals(key)) {
fingerprints.add(new Fingerprint(FingerprintType.OTR,value));
}