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 55cd4a6 commit 8bf4959Copy full SHA for 8bf4959
modules/util/url.go
@@ -28,6 +28,10 @@ func URLJoin(base string, elems ...string) string {
28
// We do need to escape special chars here or else they can be silently discarded
29
// in the ResolveReference call below
30
base = PathEscapeSegments(base)
31
+ for k, v := range elems {
32
+ elems[k] = PathEscapeSegments(v)
33
+ }
34
+
35
if !strings.HasSuffix(base, "/") {
36
base += "/"
37
}
0 commit comments