Fixed a stupid oversight

Creation of directories now checks filename validity again
This commit is contained in:
Kilobyte22 2014-07-04 15:35:48 +02:00
parent e62895e901
commit d544f9748d

View File

@ -145,6 +145,8 @@ object FileSystem extends api.detail.FileSystemAPI {
// accordingly before the path is passed to the file system. // accordingly before the path is passed to the file system.
private val invalidChars = """\:*?"<>|""".toSet 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) override protected def openOutputHandle(id: Int, path: String, mode: Mode) = super.openOutputHandle(id, validatePath(path), mode)
protected override def segments(path: String) = { protected override def segments(path: String) = {