MCPcopy Create free account
hub / github.com/code-scan/Goal / UrlDecode

Function UrlDecode

Gconvert/url.go:17–24  ·  view source on GitHub ↗
(param string)

Source from the content-addressed store, hash-verified

15 return u
16}
17func UrlDecode(param string) string {
18 ret, err := url.QueryUnescape(param)
19 if err != nil {
20 log.Println("[*] UrlDecode Error: ", err)
21 return ""
22 }
23 return ret
24}
25func UrlEncode(param string) string {
26 ret := url.QueryEscape(param)
27 return strings.ReplaceAll(ret, "+", "%20")

Callers 1

TestConvertFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestConvertFunction · 0.74