(u string)
| 111 | } |
| 112 | |
| 113 | func 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…