mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-25 07:45:01 +00:00
Don't redact :authority
pseudo-header field (#300)
This commit is contained in:
parent
e8ea93cb64
commit
649b733ba1
@ -86,6 +86,10 @@ func getContentTypeHeaderValue(headers http.Header) string {
|
||||
}
|
||||
|
||||
func isFieldNameSensitive(fieldName string) bool {
|
||||
if fieldName == ":authority" {
|
||||
return false
|
||||
}
|
||||
|
||||
name := strings.ToLower(fieldName)
|
||||
name = strings.ReplaceAll(name, "_", "")
|
||||
name = strings.ReplaceAll(name, "-", "")
|
||||
|
Loading…
Reference in New Issue
Block a user