I am trying to parse  a url similar to "f
tp://user:pass@192.168.0.1/path/file%ver3.txt" using `net/url` Parse 
function but I am getting a error

`parse "ftp://user:pass@192.168.0.1/path/file%ver3.txt": invalid URL escape 
"%ve"`

https://play.golang.org/p/HE6zlDeIbyq 
<https://play.golang.org/p/oJLwCJ4BUd0>

The same path parses fine with python(urllib.parse.urlparse and C# URI). 

I appreciate any help on this.

Regards,
Vivek

-- 
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/dc71e90a-222b-4e8a-a246-99ee33634260%40googlegroups.com.

Reply via email to