fix problems detecting MIME Type from uppercase file extensions

This commit is contained in:
Philipp Crocoll 2015-09-17 21:35:29 +02:00
parent 60faa9cfab
commit bec0b33365

View File

@ -657,7 +657,7 @@ namespace keepass2android
if (extension != null)
{
MimeTypeMap mime = MimeTypeMap.Singleton;
type = mime.GetMimeTypeFromExtension(extension);
type = mime.GetMimeTypeFromExtension(extension.ToLowerInvariant());
}
return type;
}