mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-09 17:51:21 +00:00
Use CultureInvariant string conversion for Guids
This commit is contained in:
parent
779f0c637f
commit
6032f31aa6
75 changed files with 240 additions and 186 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
|
@ -555,7 +556,7 @@ namespace Emby.Server.Implementations.IO
|
|||
throw new ArgumentNullException(nameof(file2));
|
||||
}
|
||||
|
||||
var temp1 = Path.Combine(_tempPath, Guid.NewGuid().ToString("N"));
|
||||
var temp1 = Path.Combine(_tempPath, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture));
|
||||
|
||||
// Copying over will fail against hidden files
|
||||
SetHidden(file1, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue