Documentation ¶ Index ¶ func JailJoin(jail string, elem ...string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func JailJoin ¶ func JailJoin(jail string, elem ...string) string JailJoin joins any number of path elements into a single path, it protects against directory traversal by removing any "../" elements and ensuring that the path is always under the jail. Types ¶ This section is empty. Source Files ¶ View all Source files path.go Click to show internal directories. Click to hide internal directories.