Merge pull request #1709 from MediaBrowser/dev

Dev
pull/702/head
Luke 9 years ago
commit c27e415471

@ -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…
Cancel
Save