Skip Menu |

This queue is for tickets about the Captcha-reCAPTCHA CPAN distribution.

Report information
The Basics
Id: 70525
Status: resolved
Priority: 0/
Queue: Captcha-reCAPTCHA

People
Owner: Nobody in particular
Requestors: paulr [...] ccbill.com
Cc:
AdminCc:

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



Subject: Expose proxy attributes feature request
Date: Fri, 26 Aug 2011 23:53:23 +0000
To: "bug-captcha-recaptcha [...] rt.cpan.org" <bug-captcha-recaptcha [...] rt.cpan.org>
From: Paul Rivera <paulr [...] ccbill.com>
To whom it may concern, First, I would like to take the opportunity to thank you for providing the community with the Captcha::reCAPTCHA module, it works great! I would like to request that the client application be able to specify the proxy attributes supported by LWP::UserAgent. Please kindly consider implementing this feature. If you have any questions or concerns please don't hesitate to contact me. Thanks, Paul Rivera
Patches welcome :)
On Tue Aug 07 00:48:05 2012, PHRED wrote: Show quoted text
> Patches welcome :)
I actually did supply a patch (1 line + docs) in December 2011. It sat in the queue here for at least 6 months and has now disappeared. I've attached it again Regards Grant
Subject: captcha-recaptcha-proxy.patch
--- lib/Captcha/reCAPTCHA.pm 2011-12-20 16:53:35.000000000 +1300 +++ lib/Captcha/reCAPTCHA.pm 2011-12-20 17:13:07.000000000 +1300 @@ -117,6 +117,7 @@ my ( $url, $args ) = @_; my $ua = LWP::UserAgent->new(); + $ua->env_proxy(); return $ua->post( $url, $args ); } @@ -330,6 +331,12 @@ See the /examples subdirectory for examples of how to call C<check_answer>. +Note: this method will make an HTTP request to Google to verify the user input. +If this request must be routed via a proxy in your environment, use the +standard environment variable to specify the proxy address, e.g.: + + $ENV{http_proxy} = 'http://myproxy:3128'; + =back =head1 CONFIGURATION AND ENVIRONMENT
Subject: Re: [rt.cpan.org #70525] Expose proxy attributes feature request
Date: Wed, 26 Sep 2012 18:46:24 -0700
To: bug-Captcha-reCAPTCHA [...] rt.cpan.org
From: Fred Moyer <fred [...] redhotpenguin.com>
thanks, will apply shortly On Sep 26, 2012 9:41 PM, "Grant McLean via RT" < bug-Captcha-reCAPTCHA@rt.cpan.org> wrote: Show quoted text
> Queue: Captcha-reCAPTCHA > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=70525 > > > On Tue Aug 07 00:48:05 2012, PHRED wrote:
> > Patches welcome :)
> > I actually did supply a patch (1 line + docs) in December 2011. It sat > in the queue here for at least 6 months and has now disappeared. I've > attached it again > > Regards > Grant >
0.96 enroute to CPAN