mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
use FileSafety.PathSanitise
This commit is contained in:
@ -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('\"'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user