This queue is for tickets about the Net-OpenID-Consumer CPAN distribution.

Report information
The Basics
Id:
47349
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
cnandor [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
1.03
Fixed in:
1.12



MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 781
In Net::OpenID::URIFetch is this code: if (my $ts = ($ref->{Headers}->{'last-modified'})) { $req->if_modified_since($ts); } If I am not mistaken, last-modified is a string, and if_modified_since expects numeric. I believe instead of asking for the Last-Modified header, youw ant to call $res->last_modified directly, which gives you the value. Or HTTP::Date::str2time($ts). Which is how I am patching my local copies, so I don't continue to get errors like: Argument "Thu, 18 Jun 2009 16:55:05 GMT" isn't numeric in gmtime at /usr/local/lib/perl5/site_perl/5.10.0/HTTP/Date.pm line 36. Cheers! -- Chris Nandor pudge@pobox.com http://pudge.net/ Slashdot / SourceForge pudge@slashdot.org http://slashdot.org/
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-22552-1245962220-122.47349-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 84
Looks like this bug was introduced in the modifications after we forked URI::Fetch.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2599-1321148082-358.47349-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 365
I believe this is fixed in Net-OpenID-Consumer 1.12 If you wish to try it out please make sure you've also installed the latest version of Net-OpenID-Common. Feel free to re-open (or start a new ticket) if it turns out I'm mistaken about this. Thanks for the report and sorry this took so long to get to... -- Roger Crew (new co-maintainer as of a few weeks ago)


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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