We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639230a commit b6d2a5dCopy full SHA for b6d2a5d
cmd/clusterctl/client/repository/repository_gitlab_test.go
@@ -154,7 +154,7 @@ func Test_gitLabRepository_getFile(t *testing.T) {
154
155
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
156
goproxytest.HTTPTestMethod(t, r, "GET")
157
- if r.URL.RawPath == "/api/v4/projects/group%2Fproject/packages/generic/my-package/v0.4.1/file.yaml" {
+ if r.URL.EscapedPath() == "/api/v4/projects/group%2Fproject/packages/generic/my-package/v0.4.1/file.yaml" {
158
w.Header().Set("Content-Type", "application/octet-stream")
159
w.Header().Set("Content-Disposition", "attachment; filename=file.yaml")
160
fmt.Fprint(w, "content")
0 commit comments