aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-11-20 10:24:16 +0100
committerChristian Schneppe <christian@pix-art.de>2016-11-20 10:24:16 +0100
commit753afca475fd3933fc94397efe2e0ca51713fae2 (patch)
tree17921c5e959632e83e295447b775a3202c3a7e5c /src
parent00207098adea882b2ad7dbe4eeb2ea3e5bee8d1c (diff)
lower casing fingerprints when parsing URI
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/pixart/messenger/utils/XmppUri.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/XmppUri.java b/src/main/java/de/pixart/messenger/utils/XmppUri.java
index 51f2b808a..a1788f6ba 100644
--- a/src/main/java/de/pixart/messenger/utils/XmppUri.java
+++ b/src/main/java/de/pixart/messenger/utils/XmppUri.java
@@ -90,7 +90,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));
}