summaryrefslogtreecommitdiff
path: root/src/fs/paths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/paths.cpp')
-rw-r--r--src/fs/paths.cpp3
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)