From 6d27577ca4307f5bc8d3ebb01cd6bc47fe57119d Mon Sep 17 00:00:00 2001 From: mrjvs Date: Mon, 16 Oct 2023 20:03:57 +0200 Subject: [PATCH] blacklist more headers --- src/utils/headers.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/utils/headers.ts b/src/utils/headers.ts index 23f52f5..f87c2f6 100644 --- a/src/utils/headers.ts +++ b/src/utils/headers.ts @@ -6,6 +6,11 @@ const blacklistedHeaders = [ 'cf-ray', 'cf-visitor', 'cf-ew-via', + 'x-forwarded-for', + 'x-forwarded-host', + 'x-forwarded-proto', + 'forwarded', + 'x-real-ip', ]; function copyHeader(