1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

use FileSafety.PathSanitise

This commit is contained in:
james58899 2018-01-03 17:57:24 +08:00
parent d72bbf037d
commit 89fe567496
No known key found for this signature in database
GPG Key ID: 7F83E3A11DD5192E

View File

@ -266,6 +266,6 @@ namespace osu.Game.Beatmaps.Formats
throw new InvalidDataException($@"Unknown origin: {value}");
}
private string cleanFilename(string path) => FileSafety.PathStandardise(path.Trim('\"'));
private string cleanFilename(string path) => FileSafety.PathSanitise(path.Trim('\"'));
}
}