Commit d4b062e
fix: allow HTTPS in PKL resource allowlist for package resolution
The security fix in 56ad2b1 removed https: from both allowedModules and
allowedResources. However, package: URI resolution internally downloads
archives via HTTPS, so removing it from allowedResources broke all configs
using published PKL packages (package://github.com/...).
Restore https: in allowedResources only — module imports still block
https: to prevent executing remote code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 539e657 commit d4b062e
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | | - | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments