Skip to content

Commit fd8cccb

Browse files
authored
azcopy installation fix (#6787)
* Fixing azCopy installation bug.
1 parent 1c57328 commit fd8cccb

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

cli/azd/extensions/azure.ai.models/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Release History
22

33

4+
## 0.0.3-preview (2026-02-19)
5+
6+
- Fixed azcopy download: added `githubusercontent.com` to allowed redirect hosts
7+
48
## 0.0.2-preview (2026-02-19)
59

610
- Fixed azcopy download redirect to allow `github.com` as a trusted host

cli/azd/extensions/azure.ai.models/extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace: ai.models
33
displayName: Foundry Custom Models (Preview)
44
description: Extension for managing custom models in Azure AI Foundry. (Preview)
55
usage: azd ai models <command> [options]
6-
version: 0.0.2-preview
6+
version: 0.0.3-preview
77
language: go
88
capabilities:
99
- custom-commands

cli/azd/extensions/azure.ai.models/internal/azcopy/installer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ var allowedHosts = []string{
3232
".azureedge.net",
3333
".github.com",
3434
"github.com",
35+
".githubusercontent.com",
3536
}
3637

3738
// isAllowedHost checks if the URL host is in the allowed hosts list.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.2-preview
1+
0.0.3-preview

0 commit comments

Comments
 (0)