Symbolic links falsely throw "Path outside root"
LadyCailinBot opened this issue ยท 3 comments
WORLDEDIT-2268 - Reported by Eli.Woods
I was attempting to symlink schematic subfolders from one server to another.
The offending line is here:
https://github.com/sk89q/worldedit/blob/master/src/main/java/com/sk89q/worldedit/WorldEdit.java#L828
The symlink are returning the path on disk, which is outside root. I would suggest adding a config option to whitelist certain roots.
Comment by wizjany
This seems to be intentional. https://github.com/sk89q/worldedit/blob/d5173a87635323fa8a3747bddd3a0a7457690aaa/src/com/sk89q/worldedit/WorldEdit.java#L350