Skip Menu |

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

Report information
The Basics
Id: 101674
Status: resolved
Priority: 0/
Queue: WWW-Google-Places

People
Owner: MANWAR [...] cpan.org
Requestors: aston.martin.za [...] gmail.com
Cc:
AdminCc:

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



Subject: error with valid URL
Date: Thu, 22 Jan 2015 15:54:37 +0200
To: bug-WWW-Google-Places [...] rt.cpan.org
From: Dale Hayward <aston.martin.za [...] gmail.com>
To whom it may concern I am getting the following error when trying to submit a URL that contains a percent (%) symbol. ERROR: Invalid data type 'url' [ http://www.millwardb.co.za/Survey/index.php?ap=NjgxfjB%2BMzM2MDg%3D] at /usr/local/share/perl/5.10.1/WWW/Google/URLShortener/Params.pm line 28.. System details 2.6.32-40-server #87-Ubuntu SMP Tue Mar 6 02:10:02 UTC 2012 x86_64 GNU/Linux perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi WWW-Google-URLShortener-0.11 Regards, Dale
Hi, Thanks for reporting the issue. However I am little confused since you have raised the issue against WWW::Google::Places, whereas the error shown is from WWW::Google::URLShortener. Also can you please tell me the full URL that generates the error? Many Thanks. Best Regards, Mohammad S Anwar
Subject: Re: [rt.cpan.org #101674] error with valid URL
Date: Thu, 22 Jan 2015 20:13:17 +0200
To: bug-WWW-Google-Places [...] rt.cpan.org
From: Dale Hayward <aston.martin.za [...] gmail.com>
Hi Mohammad Sorry for logging this under the wrong place. that was the site I found to log the bug. The URL that caused the error is http://www.millwardb.co.za/Survey/index.php?ap=NjgxfjB%2BMzM2MDg%3D. The error comes from the validate function in the WWW::Google::URLShortener::Params file. Regards, Dale On 22 January 2015 at 19:20, Mohammad Sajid Anwar via RT < bug-WWW-Google-Places@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=101674 > > > Hi, > > Thanks for reporting the issue. However I am little confused since you > have raised the issue against WWW::Google::Places, whereas the error shown > is from WWW::Google::URLShortener. > > Also can you please tell me the full URL that generates the error? > > Many Thanks. > > Best Regards, > Mohammad S Anwar >
Hi Dale, Patch WWW::Google::URLShortener v0.12 has been pushed to GitHub as below: https://github.com/Manwar/WWW-Google-URLShortener/commit/86f986c7776910aba140f75e21d165a9fee7be12 I have tested the new code against the URL you supplied successfully. Many Thanks. Best Regards, Mohammad S Anwar
Closing now.