fix problems detecting MIME Type from uppercase file extensions
This commit is contained in:
@@ -657,7 +657,7 @@ namespace keepass2android
|
|||||||
if (extension != null)
|
if (extension != null)
|
||||||
{
|
{
|
||||||
MimeTypeMap mime = MimeTypeMap.Singleton;
|
MimeTypeMap mime = MimeTypeMap.Singleton;
|
||||||
type = mime.GetMimeTypeFromExtension(extension);
|
type = mime.GetMimeTypeFromExtension(extension.ToLowerInvariant());
|
||||||
}
|
}
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user