From 117aa76cd898973def698810eca7b98836661af5 Mon Sep 17 00:00:00 2001 From: Laszlo Magyar Date: Sat, 28 Sep 2024 20:45:12 +0200 Subject: [PATCH] add /sdcard to the possible injected dir list --- primitiveFTPd/src/org/primftpd/filesystem/FsFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitiveFTPd/src/org/primftpd/filesystem/FsFile.java b/primitiveFTPd/src/org/primftpd/filesystem/FsFile.java index 4ef5b5db..8243f12a 100644 --- a/primitiveFTPd/src/org/primftpd/filesystem/FsFile.java +++ b/primitiveFTPd/src/org/primftpd/filesystem/FsFile.java @@ -29,7 +29,7 @@ public abstract class FsFile extends AbstractFile { static { Map tmp = new HashMap<>(); // more known directories might be added - //tmp.put("/", new String[] {"dev", "etc", "mnt", "proc", "product", "storage", "system", "vendor"}); + //tmp.put("/", new String[] {"dev", "etc", "mnt", "proc", "product", "sdcard", "storage", "system", "vendor"}); tmp.put("/", new String[] {"storage"}); tmp.put("/storage/emulated", new String[] {"0"}); DIRECTORY_INJECTIONS = Collections.unmodifiableMap(tmp);