mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Replace 'confirming filename' with 'conforming filename'
This commit is contained in:
parent
b80163c35f
commit
ffb29f5ba4
10 changed files with 22 additions and 22 deletions
|
|
@ -262,10 +262,10 @@ func (d *downloader) downloadFiles(label csaf.TLPLabel, files []csaf.AdvisoryFil
|
|||
continue
|
||||
}
|
||||
|
||||
// Ignore not confirming filenames.
|
||||
// Ignore not conforming filenames.
|
||||
filename := filepath.Base(u.Path)
|
||||
if !util.ConfirmingFileName(filename) {
|
||||
log.Printf("Not confirming filename %q. Ignoring.\n", filename)
|
||||
if !util.ConformingFileName(filename) {
|
||||
log.Printf("Not conforming filename %q. Ignoring.\n", filename)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue