diff --git a/pkg/paths/path.go b/pkg/paths/path.go index 59de7b63f..d5fba01d1 100644 --- a/pkg/paths/path.go +++ b/pkg/paths/path.go @@ -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