Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SummerSec/SpringExploit
/ GetProxyUrl
Function
GetProxyUrl
cmd/commons/utils/proxy.go:18–29 ·
view source on GitHub ↗
(proxy string)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
GetProxyUrl(proxy string) (proxys string) {
19
20
url, err := url.Parse(proxy)
21
if
err != nil {
22
log.Errorf(err.Error())
23
return
24
}
else
{
25
proxys = url.Scheme +
"://"
+ url.Host
26
}
27
return
proxys
28
29
}
Callers
1
InIt
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected