1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Fix path for locating provider-metadata.json

This commit is contained in:
Fadi Abbud 2022-05-17 12:54:14 +02:00
parent 3fc7411d45
commit f5b7f81aa4

View file

@ -746,7 +746,7 @@ func (p *processor) locateProviderMetadata(
}
for _, loc := range providerMetadataLocations {
url := "https://" + domain + "/" + loc
url := "https://" + domain + "/" + loc + "/provider-metadata.json"
ok, err := tryURL(url)
if err != nil {
if err == errContinue {