mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-19 04:18:57 +02:00
* Fix #3032: Remove query parameters in ADD command when the destination is a directory * fixing linter URL sorry forget to lint * add error in extractFilename and realize that ResolveEnvironmentReplacement better execute before getting the filename
This commit is contained in:
@@ -226,6 +226,12 @@ var urlDestFilepathTests = []struct {
|
||||
dest: "/test",
|
||||
expectedDest: "/test",
|
||||
},
|
||||
{
|
||||
url: "https://something/something.tar?foo=bar",
|
||||
cwd: "/cwd",
|
||||
dest: "/dir/",
|
||||
expectedDest: "/dir/something.tar",
|
||||
},
|
||||
{
|
||||
url: "https://something/something",
|
||||
cwd: "/test",
|
||||
|
||||
Reference in New Issue
Block a user