From 7e3b21641f247fe693f2d59ee8379f7fd7be0e79 Mon Sep 17 00:00:00 2001 From: Etienne Date: Wed, 1 Jul 2020 09:34:46 +0200 Subject: [PATCH] Update lib/util/http/index.ts Co-authored-by: Michael Kriese --- lib/util/http/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/http/index.ts b/lib/util/http/index.ts index 037c118e76c04d..5e9be7fcd7e115 100644 --- a/lib/util/http/index.ts +++ b/lib/util/http/index.ts @@ -84,7 +84,7 @@ export class Http { // Check if request has been redirected to Amazon or an Azure blob (ACR) if ( opts.search?.includes('X-Amz-Algorithm') || - opts.hostname?.endsWith('blob.core.windows.net') + opts.hostname?.endsWith('blob.core.windows.net') // lgtm [js/incomplete-url-substring-sanitization] ) { // if there is no port in the redirect URL string, then delete it from the redirect options. // This can be evaluated for removal after upgrading to Got v10