Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for X-Forwarded-For-header #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

destotelhorus
Copy link

Just in case you want to use the script behind a reverse proxy or https-gateway you can now uncomment one line to get (some) support for the X-Forwarded-For-header.

Just in case you want to use the script behind a reverse proxy or https-gateway you can now uncomment one line to get (some) support for the X-Forwarded-For-header.
@rugk
Copy link
Contributor

rugk commented Sep 25, 2016

ZeroBin is not maintained anymore.
You may want to have a look at the (fork and) successor PrivateBin, which can be found here: https://github.com/PrivateBin/PrivateBin/


As for the PR it looks nice, but in PrivateBin you could make this a config option in the ini file, so server admins do not have to mess around with the PHP files.

@elrido
Copy link

elrido commented Sep 25, 2016

Actually we already implemented this as a configurable option about a year ago.

@rugk
Copy link
Contributor

rugk commented Sep 25, 2016

All right, so this is already implemented there. So I'd just suggest you to switch to PrivateBin, @destotelhorus.

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.

3 participants