Documentation
¶
Overview ¶
Package zip provides secure zip archive extraction with path traversal protection.
Index ¶
Constants ¶
View Source
const ( // MaxFileSize is the maximum size of a single extracted file (100MB) MaxFileSize = 100 * 1024 * 1024 // MaxTotalSize is the maximum total extracted size (500MB) MaxTotalSize = 500 * 1024 * 1024 // MaxFiles is the maximum number of files to extract MaxFiles = 1000 // MaxDepth is the maximum nesting depth for extracted directories MaxDepth = 10 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.