Re: [go-nuts] Re: URL parsing with special characters.

2020-04-30 Thread Brian Candler
On Thursday, 30 April 2020 23:04:01 UTC+1, Ian Lance Taylor wrote: > > On Thu, Apr 30, 2020 at 11:09 AM Brian Candler > wrote: > > > > In a URL, the percent sign should appear as %25 (% marks the start of a > hex-encoded character) > > https://play.golang.org/p/gMC1tdpJER4 > > > > The URL a

Re: [go-nuts] Re: URL parsing with special characters.

2020-04-30 Thread Ian Lance Taylor
On Thu, Apr 30, 2020 at 11:09 AM Brian Candler wrote: > > In a URL, the percent sign should appear as %25 (% marks the start of a > hex-encoded character) > https://play.golang.org/p/gMC1tdpJER4 > > The URL as shown is invalid. I *think* you are saying that the u.Path field should use %25 rathe