From 8939111823f350d962b065ae7008c8c7df17bb90 Mon Sep 17 00:00:00 2001 From: Rowan Wookey Date: Sun, 26 Apr 2020 21:58:37 +0100 Subject: [PATCH] Fixed autoconf on http_request_time Previously it would error since the $url variable is the array key isn't the url to check it's a santized version --- plugins/http/http_request_time | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/http/http_request_time b/plugins/http/http_request_time index 8c796809..8c666f12 100755 --- a/plugins/http/http_request_time +++ b/plugins/http/http_request_time @@ -90,7 +90,7 @@ if ( defined $ARGV[0] and $ARGV[0] eq "autoconf" ) my $ua = LWP::UserAgent->new(timeout => $timeout); foreach my $url (keys %URLS) { - my $response = $ua->request(HTTP::Request->new('GET',$url)); + my $response = $ua->request(HTTP::Request->new('GET',$URLS{$url}{'url'})); if ($response->is_success) { next; }