You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Running `go get example.com:80/foo`
What is the expected output?
Import paths with illegal characters per http://golang.org/ref/spec#Import_declarations
should fail with a message on the order of
import path contains invalid character ':': "example.com:80/foo"
(Taken from play.golang.org that does complain about such things.)
What do you see instead?
It tries to import a package with the given name.
Which operating system are you using?
Linux
Which version are you using? (run 'go version')
go version devel +094fb360be8d Tue Oct 08 16:53:56 2013 +1100 linux/amd64
The text was updated successfully, but these errors were encountered:
It's one thing to not support a certain case (re 6489) and another to forbid it.
I suppose we could reject such paths, but this would be a backward incompatible change.
It's arguable (tenuously IMO) that the current behavior is a bug, and on those grounds
it could be changed.
The text was updated successfully, but these errors were encountered: