by altermatt:
It appears that using Parse with a ".." in the middle of the ref string
removes the directory in both the URL and the ref being passed in.
What steps will reproduce the problem?
http://play.golang.org/p/NFtMwSH5vE
What is the expected output?
http://example.org/dir1/dir2/dir3/dir5
What do you see instead?
http://example.org/dir1/dir5
Which compiler are you using (5g, 6g, 8g, gccgo)?
go x64 on windows
Which operating system are you using?
Windows 7 x64
Which version are you using? (run 'go version')
go1
Please provide any additional information below.
I double checked to make sure that the expected is what is seen using FireFox.