Skip to content

Commit 7b5ebe7

Browse files
Merge pull request #64 from NamelessOne91/preserve_url_queries
Preserve URL queries
2 parents 3cbe0b9 + 84adfc3 commit 7b5ebe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func (r *Syncer) downloadStoreApply(relativePath string, checksum string, descri
215215

216216
repoURL := r.URL
217217
repoURL.Path = path.Join(repoURL.Path, relativePath)
218-
finalURL := fmt.Sprintf("%s://%s%s", repoURL.Scheme, repoURL.Host, repoURL.Path)
218+
finalURL := fmt.Sprintf("%s://%s%s?%s", repoURL.Scheme, repoURL.Host, repoURL.Path, repoURL.Query().Encode())
219219

220220
body, err := ReadURL(finalURL)
221221
if err != nil {

0 commit comments

Comments
 (0)