by lijie.wong:
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
http://play.golang.org/p/lIt04hPdii
What is the expected output?
http://a.com/%2f
What do you see instead?
http://a.com//
Which compiler are you using (5g, 6g, 8g, gccgo)?
Which operating system are you using?
Which version are you using? (run 'go version')
play.golang.org.
Please provide any additional information below.
Under RFC 3986, the two URLs are not equivalent ('/' delimits path segments, whereas
'%2f' is part of a path segment)