@@ -392,7 +392,7 @@ func (p *processor) integrity(
392392 if u .IsAbs () {
393393 return u
394394 }
395- return util . JoinURLPath ( b , u .String ())
395+ return b . JoinPath ( u .String ())
396396 }
397397
398398 for _ , f := range files {
@@ -715,7 +715,7 @@ func (p *processor) checkIndex(base string, mask whereType) error {
715715 return err
716716 }
717717
718- index := util . JoinURLPath ( bu , "index.txt" ).String ()
718+ index := bu . JoinPath ( "index.txt" ).String ()
719719
720720 p .checkTLS (index )
721721
@@ -773,7 +773,7 @@ func (p *processor) checkChanges(base string, mask whereType) error {
773773 if err != nil {
774774 return err
775775 }
776- changes := util . JoinURLPath ( bu , "changes.csv" ).String ()
776+ changes := bu . JoinPath ( "changes.csv" ).String ()
777777
778778 p .checkTLS (changes )
779779
@@ -1195,11 +1195,12 @@ func (p *processor) checkWellknown(domain string) string {
11951195// 1. checks if the provider-metadata.json file is
11961196// available under the /.well-known/csaf/ directory.
11971197// 2. Then it checks the security.txt file by making HTTP request to fetch it.
1198- // 3. After that it checks the existence of the CSAF field in the file
1199- // content and tries to fetch the value of this field.
1198+ // 3. After that it checks the existence of the CSAF field in the file
1199+ // content and tries to fetch the value of this field.
12001200// 4. Finally it checks if the "csaf.data.security.domain.tld" DNS record
12011201// is available and serves the "provider-metadata.json".
1202- ///
1202+ //
1203+ // /
12031204// If all three checks fail, errors are given,
12041205// otherwise warnings for all failed checks.
12051206// The function returns nil, unless errors outside the checks were found.
0 commit comments