diff --git a/http/raw.go b/http/raw.go index bed04310..a6857ffb 100644 --- a/http/raw.go +++ b/http/raw.go @@ -123,6 +123,7 @@ func getFiles(d *data, path, commonPath string) ([]archives.FileInfo, error) { if path != commonPath { nameInArchive := strings.TrimPrefix(path, commonPath) nameInArchive = strings.TrimPrefix(nameInArchive, string(filepath.Separator)) + nameInArchive = filepath.ToSlash(nameInArchive) archiveFiles = append(archiveFiles, archives.FileInfo{ FileInfo: info,