mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
NetPlay: Check file names when receiving GCI folder
This commit is contained in:
parent
b3a414ea9d
commit
1377f31cf8
3 changed files with 19 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue