fix: filter out some headers that could leak user information

This commit is contained in:
Bnyro 2024-04-05 20:17:44 +02:00 committed by GitHub
parent a872d9f7b6
commit 52896e779c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,6 +121,9 @@ fn is_header_allowed(header: &str) -> bool {
| "user-agent"
| "range"
| "transfer-encoding"
| "x-real-ip"
| "origin"
| "referer"
)
}