Skip Menu |

This queue is for tickets about the WWW-TheMovieDB CPAN distribution.

Report information
The Basics
Id: 104577
Status: new
Priority: 0/
Queue: WWW-TheMovieDB

People
Owner: Nobody in particular
Requestors: ctx.johnr [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problem with module using a proxy
Date: Wed, 20 May 2015 11:15:54 -0700
To: bug-WWW-TheMovieDB [...] rt.cpan.org
From: John Remzso <ctx.johnr [...] gmail.com>
Module and version: WWW::TheMovieDB 0.05 Perl Ver.: 5.18.2 i686-linux-gnu-thread-multi-64int System: Linux 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:14:51 UTC 2015 i686 i686 i686 GNU/Linux Description: When http_proxy and https_proxy are set in the environment with 'export http_proxy='your-proxy'' the module fails to pick up and use it so you get connection timed out. This is fixed by editing WWW/TheMovieDB.pm 108 sub getURL { 109 my $package = shift; 110 my $params = shift; 111 112 my $url = $params->{'url'}; 113 my $method = $params->{'method'}; 114 my $json = $params->{'json'} || $EMPTY; 115 116 my $ua = LWP::UserAgent->new; (Add this line) ---> 117 $ua->env_proxy; 118 $ua->agent("WWW::TheMovieDB/". $VERSION); - John