diff --git a/pkg/util/azureblob_util_test.go b/pkg/util/azureblob_util_test.go index 5d5cff2d3..bddde6913 100644 --- a/pkg/util/azureblob_util_test.go +++ b/pkg/util/azureblob_util_test.go @@ -63,6 +63,16 @@ func Test_ValidAzureBlobStorageHost(t *testing.T) { context: "https://myaccount.blob.core.windows.net/", expectedResult: false, }, + { + name: "URL with folder structure", + context: "https://myaccount.blob.core.windows.net/fairingcontext/path/to/context.tar.gz", + expectedResult: true, + }, + { + name: "URL with $root container", + context: "https://myaccount.blob.core.windows.net/$root/context.tar.gz", + expectedResult: true, + }, } for _, test := range tests {