diff --git a/src/main/scala/li/cil/oc/server/fs/FileSystem.scala b/src/main/scala/li/cil/oc/server/fs/FileSystem.scala index ffe0f2b30..ccdb613e6 100644 --- a/src/main/scala/li/cil/oc/server/fs/FileSystem.scala +++ b/src/main/scala/li/cil/oc/server/fs/FileSystem.scala @@ -145,6 +145,8 @@ object FileSystem extends api.detail.FileSystemAPI { // accordingly before the path is passed to the file system. private val invalidChars = """\:*?"<>|""".toSet + override def makeDirectory(path: String) = super.makeDirectory(validatePath(path)) + override protected def openOutputHandle(id: Int, path: String, mode: Mode) = super.openOutputHandle(id, validatePath(path), mode) protected override def segments(path: String) = {