Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 1596
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: cpan [...] aaronland.net
Cc:
AdminCc:

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



Subject: tests failing w/ Google redirects
Howdy, The tests for WWW::Mechanize will fail for people in Canada because any request to google.com is automagically redirected to google.ca. Presumably this is same anywhere that Google redirects users to a country-specific site. I first noticed this when I added $res->code() and $res->message to click.t which returned the following : t/click.........NOK 4# Failed test (t/click.t at line 14) Can't even fetch google302:Found If I change the URI to "google.ca" everything works fine, but then the next test to call "google.com" fails. I'm not sure what the elegant solution is but I figured I would bring the problem to your attention.
Subject: Google.com fixed in WWW::Mechanize
The WWW::Mechanize *.t files no longer use www.google.com as the base, so they're not subject to the redirections that non-US folks see.