Expected, the percent encoded version produced by String() is semantically 
equivalent and safer than the raw space version, and also doesn't require 
storing the raw version.

On Friday, March 4, 2022 at 1:10:22 PM UTC joche...@gmail.com wrote:

> Hello,
>
> If I convert an url.URL to a string and then parse the result, am I meant 
> to get back the original url?  While playing with the new fuzzer I found 
> that in practise this is not the case,
> but I'm not sure whether this is due to bugs, or whether this is expected.
>
> The affected URLs are of course all silly urls, chosen by the fuzzer.
> Example: https://go.dev/play/p/VFe0MbBty3r
>
> All the best,
> Jochen
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/597d998f-0e58-4278-8026-be67ea7618a4n%40googlegroups.com.

Reply via email to