mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-23 00:32:55 +01:00
Dont stop scanning if there is a bad url in a feed.
This commit is contained in:
parent
10e1af232c
commit
558408c531
1 changed files with 2 additions and 1 deletions
|
|
@ -187,7 +187,8 @@ func (p *processor) integrity(
|
||||||
for _, f := range files {
|
for _, f := range files {
|
||||||
fp, err := url.Parse(f)
|
fp, err := url.Parse(f)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
lg("Bad URL %s: %v", f, err)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
u := b.ResolveReference(fp).String()
|
u := b.ResolveReference(fp).String()
|
||||||
if p.markChecked(u) {
|
if p.markChecked(u) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue