go version)?$ go version 1.13
github.com/PuerkitoBio/purell)github.com/PuerkitoBio/[email protected]: reading https://{GOPROXY}/github.com/%21puerkito%21bio/purell/@v/v1.1.0.mod: 404 Not Found (notice that because of the uppercase P and uppercase B, we see %21 get added in front then the character which I think should just be PuerkitoBio)go env)?go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/kush.patel/Projects/go/bin"
GOCACHE="/Users/kush.patel/Library/Caches/go-build"
GOENV="/Users/kush.patel/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=".hootops.com"
GONOSUMDB=".hootops.com"
GOOS="darwin"
GOPATH="/Users/kush.patel/Projects/go"
GOPRIVATE="*.hootops.com"
GOPROXY="OURPROXYURL"
GOROOT="/usr/local/Cellar/go/1.13/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/5m/7czshm113rv1wzt8r3cjt_hh0000gp/T/go-build810182232=/tmp/go-build -gno-record-gcc-switches -fno-common"
github.com/PuerkitoBio/purell)github.com/PuerkitoBio/[email protected]: reading https://{GOPROXY}/github.com/%21puerkito%21bio/purell/@v/v1.1.0.mod: 404 Not Found (notice that because of the uppercase P and uppercase B, we see %21 get added in front then the character which I think should just be PuerkitoBio)I expected to see it fetch the package fine and say read from https://{GOPROXY}/github.com/PuerkitoBio/purell/@v/v1.1.0.mod
I saw it read from https://{GOPROXY}/github.com/%21puerkito%21bio/purell/@v/v1.1.0.mod
This is correct as documented in go help goproxy:
To avoid problems when serving from case-sensitive file systems,
theand elements are case-encoded, replacing every
uppercase letter with an exclamation mark followed by the corresponding
lower-case letter: github.com/Azure encodes as github.com/!azure.
Please file a bug against Artifactory.
Found the bug report here https://www.jfrog.com/jira/browse/RTFACT-20227
Relates to https://github.com/golang/go/issues/26456
Yeah we're talking with JFrog right now @bakito. We got to them confirming there is a bug on their side and creating that ticket. They have to push it through product though.
Most helpful comment
This is correct as documented in
go help goproxy:Please file a bug against Artifactory.