Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ uriFromURL
Function
uriFromURL
coderd/externalauth.go:433–440 ·
view source on GitHub ↗
(u string)
Source
from the content-addressed store, hash-verified
431
}
432
433
func
uriFromURL(u string) string {
434
uri, err := url.Parse(u)
435
if
err != nil {
436
return
"/"
437
}
438
439
return
uri.RequestURI()
440
}
Callers
3
externalAuthCallback
Method · 0.70
userOAuth2Github
Method · 0.70
userOIDC
Method · 0.70
Calls
1
Parse
Method · 0.65
Tested by
no test coverage detected