mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
NetPlay: Check file names when receiving GCI folder
This commit is contained in:
@ -43,4 +43,6 @@ std::string EscapeFileName(const std::string& filename);
|
||||
std::string EscapePath(const std::string& path);
|
||||
// Reverses escaping done by EscapeFileName
|
||||
std::string UnescapeFileName(const std::string& filename);
|
||||
// Tests for a file name being "safe" as per the escaping defined in EscapeFileName
|
||||
bool IsFileNameSafe(const std::string_view filename);
|
||||
} // namespace Common
|
||||
|
Reference in New Issue
Block a user