From 1ed40b3b8292191d8fafd8767f9ed0742b62d6ba Mon Sep 17 00:00:00 2001
From: Ivanq <imachug@yandex.ru>
Date: Mon, 19 Aug 2019 07:09:32 +0000
Subject: [PATCH] Allow files with `..` as a name substring

---
 src/Content/ContentManager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py
index 12a9b638..7a1a8447 100644
--- a/src/Content/ContentManager.py
+++ b/src/Content/ContentManager.py
@@ -595,7 +595,7 @@ class ContentManager(object):
         return back
 
     def isValidRelativePath(self, relative_path):
-        if ".." in relative_path:
+        if ".." in relative_path.replace("\\", "/").split("/"):
             return False
         elif len(relative_path) > 255:
             return False