this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #11 from websages/disable-verify-hostanme

Disable SSL verification for tumble links

authored by

Stephen Yeargin and committed by
GitHub
8b0d7873 f681df20

+4 -1
+4 -1
htdocs/irclink/index.cgi
··· 18 18 my $url = $cgi->param( 'url' ); 19 19 my $agentString = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0'; 20 20 21 - my $agent = LWP::UserAgent->new(); 21 + my $agent = LWP::UserAgent->new( 22 + ssl_opts => { verify_hostname => 0 }, 23 + protocols_allowed => ['https', 'http'], 24 + ); 22 25 $agent->agent( $agentString ); 23 26 24 27 my $response = $agent->get( $url );