Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 4125
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: jain [...] gmx.net
Cc:
AdminCc:

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



Subject: UserAgent won't redirect to referrer page
Download (untitled) / with headers
text/plain 830b
In UserAgent.pm, somewhere around line 486: while ($r) { if (++$count > 13 || $r->request->url->as_string eq $referral_uri->as_string) { $response->header("Client-Warning" => "Redirect loop detected"); return $response; } Unfortunately there are pages that redirect to some kind of verification page if a certain cookie is not set. This verification then page sets the cookie, and redirects back to the original page. The page will only display if the cookie has been set. Arguably this is a rather stupid setup, but it does occur (observed in the wild, somewhere at wiley.com, an established publisher). Because UserAgent only redirects to pages that are not equal to the referring page, retrieving such pages is currently not possible. Perhaps a simple option could be added to disable this check?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.