ZeroBin icon indicating copy to clipboard operation
ZeroBin copied to clipboard

Added support for X-Forwarded-For-header

Open destotelhorus opened this issue 8 years ago • 3 comments

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.

destotelhorus avatar Sep 25 '16 12:09 destotelhorus

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.

rugk avatar Sep 25 '16 13:09 rugk

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

elrido avatar Sep 25 '16 13:09 elrido

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

rugk avatar Sep 25 '16 13:09 rugk