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/Config | |
parent | b5ece2542a5416c97f3b9e060b877404349fafe6 (diff) | |
download | bugzilla-785a05910108a6d032e802605762d7567dec4123.tar.gz bugzilla-785a05910108a6d032e802605762d7567dec4123.tar.xz |
Bug 1442520 - move inbound_proxies to localconfig
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Advanced.pm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Bugzilla/Config/Advanced.pm b/Bugzilla/Config/Advanced.pm index e2c00f910..2eec11dbe 100644 --- a/Bugzilla/Config/Advanced.pm +++ b/Bugzilla/Config/Advanced.pm @@ -18,13 +18,6 @@ our $sortkey = 1700; use constant get_param_list => ( { - name => 'inbound_proxies', - type => 't', - default => '', - checker => \&check_inbound_proxies - }, - - { name => 'proxy_url', type => 't', default => '' @@ -82,15 +75,4 @@ use constant get_param_list => ( }, ); -sub check_inbound_proxies { - my $inbound_proxies = shift; - - return "" if $inbound_proxies eq "*"; - my @proxies = split( /[\s,]+/, $inbound_proxies ); - foreach my $proxy (@proxies) { - validate_ip($proxy) || return "$proxy is not a valid IPv4 or IPv6 address"; - } - return ""; -} - 1; |