Skip to content

Commit

Permalink
Add mod version decoding to fix branches with capital letters (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tomalak authored and arschles committed Jul 8, 2019
1 parent 7519a77 commit 91ac2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/paths/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func GetVersion(r *http.Request) (string, error) {
if version == "" {
return "", errors.E(op, "missing version parameter")
}
return version, nil
return DecodePath(version)
}

// AllPathParams holds the module and version in the path of a ?go-get=1
Expand Down

0 comments on commit 91ac2c4

Please sign in to comment.