Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRelative ¶
CheckRelative returns an error if the filename path escapes dir. This is used to protect against path traversal attacks when extracting archives. It also rejects absolute filename paths.
func CheckSymlink ¶
CheckSymlink returns an error if the link path escapes dir. This is used to protect against path traversal attacks when extracting archives. It also rejects absolute linkname paths.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.