Quantcast
Channel: How can I unescape a url's host? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Alex Netkachov for How can I unescape a url's host?

You can use url.QueryUnescape to decode entities %hh back to the characters:package mainimport ("fmt""net/url""strings")func fixHost(link string) string { if strings.HasPrefix(link, "http://") { p :=...

View Article


How can I unescape a url's host?

I have the following URL I'm trying to process:http://shitenonions%2elibsyn%2ecom/rssWhen I try to create a url out of it in Go, I get the following error:panic: parse...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>