diff -r db4911b0c721 -r 445e01aede7e vendor/github.com/spf13/afero/httpFs.go --- a/vendor/github.com/spf13/afero/httpFs.go Tue Aug 23 22:33:28 2022 +0200 +++ b/vendor/github.com/spf13/afero/httpFs.go Tue Aug 23 22:39:43 2022 +0200 @@ -29,7 +29,7 @@ } func (d httpDir) Open(name string) (http.File, error) { - if filepath.Separator != '/' && strings.IndexRune(name, filepath.Separator) >= 0 || + if filepath.Separator != '/' && strings.ContainsRune(name, filepath.Separator) || strings.Contains(name, "\x00") { return nil, errors.New("http: invalid character in file path") }