mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +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
|
|
@ -314,8 +314,8 @@ func (p *processor) uploadRequest(filename string) (*http.Request, error) {
|
|||
// It prints the response messages.
|
||||
func (p *processor) process(filename string) error {
|
||||
|
||||
if bn := filepath.Base(filename); !util.ConfirmingFileName(bn) {
|
||||
return fmt.Errorf("%q is not a confirming file name", bn)
|
||||
if bn := filepath.Base(filename); !util.ConformingFileName(bn) {
|
||||
return fmt.Errorf("%q is not a conforming file name", bn)
|
||||
}
|
||||
|
||||
req, err := p.uploadRequest(filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue