MCPcopy Create free account
hub / github.com/zalando/skipper / stripQueryString

Function stripQueryString

logging/access.go:113–119  ·  view source on GitHub ↗
(u string)

Source from the content-addressed store, hash-verified

111}
112
113func stripQueryString(u string) string {
114 if i := strings.IndexRune(u, '?'); i < 0 {
115 return u
116 } else {
117 return u[:i]
118 }
119}
120
121// maskQueryParams masks (i.e., hashing) specific query parameters in the provided request's URI.
122// Returns the obfuscated URI.

Callers 2

maskQueryParamsFunction · 0.85
LogAccessMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…