Projet

Général

Profil

Révision 89391118

ID8939111823f350d962b065ae7008c8c7df17bb90
Parent 699158fd
Enfant 24f48837

Ajouté par Rowan Wookey il y a plus de 5 ans

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

Voir les différences:

plugins/http/http_request_time
90 90
	my $ua = LWP::UserAgent->new(timeout => $timeout);
91 91

  
92 92
	foreach my $url (keys %URLS) {
93
		my $response = $ua->request(HTTP::Request->new('GET',$url));
93
		my $response = $ua->request(HTTP::Request->new('GET',$URLS{$url}{'url'}));
94 94
                if ($response->is_success) {
95 95
                	next;
96 96
                }

Formats disponibles : Unified diff