From 2a7b8a1dbbe846a418365ff0dcce8a37abf14a96 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 23 Sep 2023 12:28:11 -0400 Subject: [PATCH] Use https proxy instead of http since we now access an https url --- scripts/zmupdate.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index af37a828c..e6ce6fd5e 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -169,7 +169,7 @@ if ($check) { my $ua = LWP::UserAgent->new; $ua->agent('ZoneMinder Update Agent/'.ZM_VERSION); if ( $Config{ZM_UPDATE_CHECK_PROXY} ) { - $ua->proxy('http', $Config{ZM_UPDATE_CHECK_PROXY}); + $ua->proxy('https', $Config{ZM_UPDATE_CHECK_PROXY}); } my $req = HTTP::Request->new(GET=>'https://update.zoneminder.com/version.txt'); my $res = $ua->request($req);