Merge tag 'v0.23.11'

release v0.23.11
This commit is contained in:
Max Kellermann
2022-11-28 17:00:38 +01:00
10 changed files with 85 additions and 11 deletions

View File

@@ -82,6 +82,9 @@ spl_valid_name(const char *name_utf8)
*/
return std::strchr(name_utf8, '/') == nullptr &&
#ifdef _WIN32
std::strchr(name_utf8, '\\') == nullptr &&
#endif
std::strchr(name_utf8, '\n') == nullptr &&
std::strchr(name_utf8, '\r') == nullptr;
}