mirror of
https://github.com/sussy-code/sudo-proxy.git
synced 2026-04-20 08:22:05 +00:00
blacklist more headers
This commit is contained in:
parent
f890f59d43
commit
6d27577ca4
1 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,11 @@ const blacklistedHeaders = [
|
||||||
'cf-ray',
|
'cf-ray',
|
||||||
'cf-visitor',
|
'cf-visitor',
|
||||||
'cf-ew-via',
|
'cf-ew-via',
|
||||||
|
'x-forwarded-for',
|
||||||
|
'x-forwarded-host',
|
||||||
|
'x-forwarded-proto',
|
||||||
|
'forwarded',
|
||||||
|
'x-real-ip',
|
||||||
];
|
];
|
||||||
|
|
||||||
function copyHeader(
|
function copyHeader(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue