summaryrefslogtreecommitdiff
path: root/src/fs/paths.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-28 00:54:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-28 00:54:28 +0300
commit6ebd6c0f16cf15bb455b81ca571ef88bac381655 (patch)
tree2be6a21600c7e0f8c0067c494e2510d6f3c0129c /src/fs/paths.h
parenteb5128aa6ce4a33aa9021b51231d0934294c7caa (diff)
downloadmanaverse-6ebd6c0f16cf15bb455b81ca571ef88bac381655.tar.gz
manaverse-6ebd6c0f16cf15bb455b81ca571ef88bac381655.tar.bz2
manaverse-6ebd6c0f16cf15bb455b81ca571ef88bac381655.tar.xz
manaverse-6ebd6c0f16cf15bb455b81ca571ef88bac381655.zip
Add path sanitization in virtfsdir.
Diffstat (limited to 'src/fs/paths.h')
-rw-r--r--src/fs/paths.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/paths.h b/src/fs/paths.h
index 48a6eeea8..be431f9c3 100644
--- a/src/fs/paths.h
+++ b/src/fs/paths.h
@@ -31,6 +31,8 @@ bool isRealPath(const std::string &str) A_WARN_UNUSED;
bool checkPath(const std::string &path) A_WARN_UNUSED;
+void prepareFsPath(std::string &path);
+
std::string &fixDirSeparators(std::string &str);
std::string removeLast(const std::string &str) A_WARN_UNUSED;