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
+3
View File
@@ -121,6 +121,9 @@ fn is_header_allowed(header: &str) -> bool {
| "user-agent"
| "range"
| "transfer-encoding"
| "x-real-ip"
| "origin"
| "referer"
)
}