From 785a05910108a6d032e802605762d7567dec4123 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 2 Mar 2018 00:05:28 -0500 Subject: Bug 1442520 - move inbound_proxies to localconfig --- Bugzilla/Config/Advanced.pm | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Bugzilla/Config') 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 @@ -17,13 +17,6 @@ use Bugzilla::Util qw(validate_ip); our $sortkey = 1700; use constant get_param_list => ( - { - name => 'inbound_proxies', - type => 't', - default => '', - checker => \&check_inbound_proxies - }, - { name => 'proxy_url', type => 't', @@ -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; -- cgit v1.2.3-24-g4f1b