Skip to content

Remove the X-Forwarded-For header in Code.gs to hide the user's real IP address to bypass sanctions#25

Closed
pickwickvest wants to merge 1 commit intomasterking32:python_testingfrom
pickwickvest:python_testing
Closed

Remove the X-Forwarded-For header in Code.gs to hide the user's real IP address to bypass sanctions#25
pickwickvest wants to merge 1 commit intomasterking32:python_testingfrom
pickwickvest:python_testing

Conversation

@pickwickvest
Copy link
Copy Markdown

This is done to bypass sanctions on Iran

This is done to bypass sanctions on Iran
@EmranHejazi
Copy link
Copy Markdown
Contributor

didn't worked for me

@abolix
Copy link
Copy Markdown
Collaborator

abolix commented Apr 25, 2026

I don't think that it's any related to sanctions, can you tell us any example website that is fixed to use after this PR ?

@BOplaid
Copy link
Copy Markdown
Contributor

BOplaid commented Apr 26, 2026

Even if it doesn't work the header should be removed anyway to prevent IP address leaking

@abolix
Copy link
Copy Markdown
Collaborator

abolix commented Apr 29, 2026

In new commit all x-forwarded-for, x-forwarded-host, x-forwarded-proto, x-forwarded-port, x-real-ip, forwarded and via are stripped so I'm marking this as closed.

@abolix abolix closed this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants