lower casing fingerprints when parsing URI
This commit is contained in:
parent
211354ee26
commit
99a41265b8
|
@ -85,7 +85,7 @@ public class XmppUri {
|
||||||
String[] parts = pair.split("=",2);
|
String[] parts = pair.split("=",2);
|
||||||
if (parts.length == 2) {
|
if (parts.length == 2) {
|
||||||
String key = parts[0].toLowerCase(Locale.US);
|
String key = parts[0].toLowerCase(Locale.US);
|
||||||
String value = parts[1];
|
String value = parts[1].toLowerCase(Locale.US);
|
||||||
if (OTR_URI_PARAM.equals(key)) {
|
if (OTR_URI_PARAM.equals(key)) {
|
||||||
fingerprints.add(new Fingerprint(FingerprintType.OTR,value));
|
fingerprints.add(new Fingerprint(FingerprintType.OTR,value));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue