mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Add path of offending security.txt to error message since now multiple paths are checked
This commit is contained in:
parent
0a2b69bd55
commit
e27d64e42c
1 changed files with 3 additions and 1 deletions
|
|
@ -1273,7 +1273,9 @@ func (p *processor) checkSecurity(domain string) string {
|
||||||
if msg == "" {
|
if msg == "" {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
msgs = append(msgs, msg)
|
// Show which security.txt caused this message
|
||||||
|
lmsg := folder + "security.txt:" + msg
|
||||||
|
msgs = append(msgs, lmsg)
|
||||||
}
|
}
|
||||||
return strings.Join(msgs, "; ")
|
return strings.Join(msgs, "; ")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue