mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 22:13:20 +08:00
use FileSafety.PathSanitise
This commit is contained in:
parent
d72bbf037d
commit
89fe567496
@ -266,6 +266,6 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
throw new InvalidDataException($@"Unknown origin: {value}");
|
throw new InvalidDataException($@"Unknown origin: {value}");
|
||||||
}
|
}
|
||||||
|
|
||||||
private string cleanFilename(string path) => FileSafety.PathStandardise(path.Trim('\"'));
|
private string cleanFilename(string path) => FileSafety.PathSanitise(path.Trim('\"'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user