mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:55:35 +08:00
One more little change
Damn, i forgor. Sorry, CI runners.
This commit is contained in:
parent
c1e9398c19
commit
6901ed997d
@ -137,7 +137,7 @@ namespace osu.Game.Extensions
|
||||
return instance.OnlineID.Equals(other.OnlineID);
|
||||
}
|
||||
|
||||
private static Regex invalid_filename_chars = new Regex(@"(?!$)[^A-Za-z0-9_()[\]. -]", RegexOptions.Compiled);
|
||||
private static readonly Regex invalid_filename_chars = new Regex(@"(?!$)[^A-Za-z0-9_()[\]. \-]", RegexOptions.Compiled);
|
||||
|
||||
/// <summary>
|
||||
/// Get a valid filename for use inside a zip file. Avoids backslashes being incorrectly converted to directories.
|
||||
|
Loading…
Reference in New Issue
Block a user