mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Merge pull request #137 from csaf-poc/fix-locating-providermetadata
Fix path for locating provider-metadata.json
This commit is contained in:
commit
e4c2c00879
1 changed files with 1 additions and 1 deletions
|
|
@ -746,7 +746,7 @@ func (p *processor) locateProviderMetadata(
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, loc := range providerMetadataLocations {
|
for _, loc := range providerMetadataLocations {
|
||||||
url := "https://" + domain + "/" + loc
|
url := "https://" + domain + "/" + loc + "/provider-metadata.json"
|
||||||
ok, err := tryURL(url)
|
ok, err := tryURL(url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == errContinue {
|
if err == errContinue {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue