diff options
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/paths.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp index 4c93bd755..31052b7bb 100644 --- a/src/fs/paths.cpp +++ b/src/fs/paths.cpp @@ -106,7 +106,8 @@ bool checkPath(const std::string &path) return path.find("../") == std::string::npos && path.find("..\\") == std::string::npos && path.find("/..") == std::string::npos - && path.find("\\..") == std::string::npos; + && path.find("\\..") == std::string::npos + && path.find("(unreachable)") == std::string::npos; } void prepareFsPath(std::string &path) |