Skip to content

Commit

Permalink
Update lib/util/http/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
  • Loading branch information
etiennetremel and viceice committed Jul 1, 2020
1 parent 09dbe60 commit 7e3b216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/http/index.ts
Expand Up @@ -84,7 +84,7 @@ export class Http<GetOptions = HttpOptions, PostOptions = HttpPostOptions> {
// 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
Expand Down

0 comments on commit 7e3b216

Please sign in to comment.