mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
fix: filter out some headers that could leak user information
This commit is contained in:
parent
a872d9f7b6
commit
52896e779c
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ fn is_header_allowed(header: &str) -> bool {
|
|||
| "user-agent"
|
||||
| "range"
|
||||
| "transfer-encoding"
|
||||
| "x-real-ip"
|
||||
| "origin"
|
||||
| "referer"
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue