ZeroBin
ZeroBin copied to clipboard
Added support for 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.
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.
Actually we already implemented this as a configurable option about a year ago.
All right, so this is already implemented there. So I'd just suggest you to switch to PrivateBin, @destotelhorus.