mirror of https://github.com/hashicorp/terraform
It's not always easy or convenient for a web application to determine its own absolute URL to return, so here we pragmatically allow the download source string from a registry to be a path relative to the download endpoint. Since X-Terraform-Get is a go-getter string, not all valid values are valid URLs and so we sniff for certain relative-path-looking prefixes in order to decide whether to apply the relative lookup transform.pull/16502/head
parent
4a01bf0b97
commit
288f7c00e4
Loading…
Reference in new issue