mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
commit
c27e415471
1 changed files with 4 additions and 1 deletions
|
@ -909,7 +909,10 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||
throw new ArgumentNullException("name");
|
||||
}
|
||||
|
||||
var validFilename = _fileSystem.GetValidFilename(name).Trim();
|
||||
// Trim the period at the end because windows will have a hard time with that
|
||||
var validFilename = _fileSystem.GetValidFilename(name)
|
||||
.Trim()
|
||||
.TrimEnd('.');
|
||||
|
||||
string subFolderPrefix = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue