Fixed and closed #519 : changed all occurrences of ToLower() into ToLowerInvariant().
This commit is contained in:
parent
072ee52d8f
commit
5f05cecc20
8 changed files with 15 additions and 15 deletions
|
@ -96,7 +96,7 @@ namespace ScrewTurn.Wiki {
|
|||
string mime = "";
|
||||
try {
|
||||
string ext = Path.GetExtension(filename);
|
||||
if(ext.StartsWith(".")) ext = ext.Substring(1).ToLower(); // Remove trailing dot
|
||||
if(ext.StartsWith(".")) ext = ext.Substring(1).ToLowerInvariant(); // Remove trailing dot
|
||||
mime = GetMimeType(ext);
|
||||
}
|
||||
catch {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue