diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-02 06:05:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-02 06:05:28 +0100 |
commit | 785a05910108a6d032e802605762d7567dec4123 (patch) | |
tree | f22f76884460d1ae17e2ed9edfef77fdf643168a /Bugzilla/Util.pm | |
parent | b5ece2542a5416c97f3b9e060b877404349fafe6 (diff) | |
download | bugzilla-785a05910108a6d032e802605762d7567dec4123.tar.gz bugzilla-785a05910108a6d032e802605762d7567dec4123.tar.xz |
Bug 1442520 - move inbound_proxies to localconfig
Diffstat (limited to 'Bugzilla/Util.pm')
-rw-r--r-- | Bugzilla/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index c23e738e6..91f06e650 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -270,7 +270,7 @@ sub do_ssl_redirect_if_required { # Returns the real remote address of the client, sub remote_ip { my $remote_ip = $ENV{'REMOTE_ADDR'} || '127.0.0.1'; - my @proxies = split(/[\s,]+/, Bugzilla->get_param_with_override('inbound_proxies')); + my @proxies = split(/[\s,]+/, Bugzilla->localconfig->{inbound_proxies}); my @x_forwarded_for = split(/[\s,]+/, $ENV{HTTP_X_FORWARDED_FOR} // ''); return $remote_ip unless @x_forwarded_for; |