-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Return an error when an illegal path is used to prevent Zip and Tar slip * Add flag to disable path slip verification for Docker and other isolated envs * Add more output messages * Fix errors raised by functions (not to mix error and *GatewayDError) * Check if the output directory exists before extracting the archive
- Loading branch information
1 parent
4aa6002
commit a2fb9a7
Showing
2 changed files
with
56 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ const ( | |
ErrCodeAsyncAction | ||
ErrCodeEvalError | ||
ErrCodeMsgEncodeError | ||
ErrCodePathSlipError | ||
) | ||
|
||
var ( | ||
|