mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-12-22 15:08:50 -05:00
fix problems detecting MIME Type from uppercase file extensions
This commit is contained in:
parent
60faa9cfab
commit
bec0b33365
@ -657,7 +657,7 @@ namespace keepass2android
|
||||
if (extension != null)
|
||||
{
|
||||
MimeTypeMap mime = MimeTypeMap.Singleton;
|
||||
type = mime.GetMimeTypeFromExtension(extension);
|
||||
type = mime.GetMimeTypeFromExtension(extension.ToLowerInvariant());
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user