mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
But... why?
This commit is contained in:
@@ -123,8 +123,6 @@ namespace SabreTools.Core.Tools
|
||||
if (string.IsNullOrEmpty(input))
|
||||
return input;
|
||||
|
||||
input = input!.ToLowerInvariant();
|
||||
|
||||
List<char> invalidPath = [.. Path.GetInvalidPathChars()];
|
||||
return new string(input.Where(c => !invalidPath.Contains(c)).ToArray());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user