]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 343294: Update notification does not work through an HTTP proxy - Patch by Cedric...
authorlpsolit%gmail.com <>
Mon, 3 Jul 2006 16:08:43 +0000 (16:08 +0000)
committerlpsolit%gmail.com <>
Mon, 3 Jul 2006 16:08:43 +0000 (16:08 +0000)
Bugzilla/Update.pm

index 31cb2cac06618c97c31ca97a333bbfabf52f0a4a..5d676b4607ae10e4452e46d9d5f6cd01433da0cb 100644 (file)
@@ -132,6 +132,7 @@ sub _synchronize_data {
     my $ua = LWP::UserAgent->new();
     $ua->timeout(TIMEOUT);
     $ua->protocols_allowed(['http', 'https']);
+    $ua->env_proxy;
     $ua->mirror(REMOTE_FILE, $local_file);
 
     # $ua->mirror() forces the modification time of the local XML file