aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-11-18 13:02:33 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-11-18 13:02:33 +0100
commit99a41265b88b5372407c13392ccb90ca31acb65a (patch)
treefa5d8ea4cf4225ae48488ffc9c12908d64947431 /src
parent211354ee26f27f24a253ef4e85619435a8f2c942 (diff)
lower casing fingerprints when parsing URI
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/utils/XmppUri.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/XmppUri.java b/src/main/java/eu/siacs/conversations/utils/XmppUri.java
index 1fc9812a..8cf5eeac 100644
--- a/src/main/java/eu/siacs/conversations/utils/XmppUri.java
+++ b/src/main/java/eu/siacs/conversations/utils/XmppUri.java
@@ -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));
}