Skip to content

Commit dd7ff9a

Browse files
committed
fix: update
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
1 parent 6ac08b1 commit dd7ff9a

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/suite/plugin/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var _ = Describe("notation plugin install", func() {
8181
Host(nil, func(notation *utils.ExecOpts, _ *Artifact, vhost *utils.VirtualHost) {
8282
// extract the test file from the wrapped file to avoid the issue of the zip bomb being
8383
// identified as a malicious file by the antivirus software
84-
wrappedFilePath := filepath.Join(NotationE2EMaliciousPluginArchivePath, "zip_bomb_wrap.zip")
84+
wrappedFilePath := filepath.Join(NotationE2EMaliciousPluginArchivePath, "wrapped_zip_bomb.zip")
8585
fileName := "zip_bomb.zip"
8686
targetPath := vhost.AbsolutePath(NotationDirName, fileName)
8787
if err := utils.ExtractSingleFileFromZip(wrappedFilePath, fileName, targetPath); err != nil {

test/e2e/testdata/malicious-plugin/zip_bomb_wrap.zip renamed to test/e2e/testdata/malicious-plugin/wrapped_zip_bomb.zip

File renamed without changes.

0 commit comments

Comments
 (0)