aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-08-23 21:06:58 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-08-23 21:06:58 +0200
commitdeb9c20e5e7459c56f5207f3eaf9c189e383475a (patch)
treeedd52471eec291e785bafaef317e2c9b852bf5bf /src/main/java/eu
parent91a3cee6d2ddcb647082b517d2781c00fb1f844d (diff)
parent5a53ff80fbaafb405f88cb4949bb46d8ffc450cc (diff)
Merge branch 'master' into development
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/utils/MimeUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/MimeUtils.java b/src/main/java/eu/siacs/conversations/utils/MimeUtils.java
index a9e89d1b..d4544424 100644
--- a/src/main/java/eu/siacs/conversations/utils/MimeUtils.java
+++ b/src/main/java/eu/siacs/conversations/utils/MimeUtils.java
@@ -458,7 +458,7 @@ public final class MimeUtils {
if (extension == null || extension.isEmpty()) {
return null;
}
- return extensionToMimeTypeMap.get(extension);
+ return extensionToMimeTypeMap.get(extension.toLowerCase());
}
/**
* Returns true if the given extension has a registered MIME type.