Skip Menu |

This queue is for tickets about the URI-Fetch CPAN distribution.

Report information
The Basics
Id: 39820
Status: resolved
Priority: 0/
Queue: URI-Fetch

People
Owner: NEILB [...] cpan.org
Requestors: dom [...] math.uni-bonn.de
Cc:
AdminCc:

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



Subject: Caching content under changed key
Date: Sun, 5 Oct 2008 11:55:46 +0200
To: bug-URI-Fetch [...] rt.cpan.org
From: Mario Domgoergen <dom [...] math.uni-bonn.de>
Hello! URI::Fetch caches its results under the key fetch->uri(), which is probably not the orginal url the caller intended to fetch due to URI sanitation. The next time the caller tries to refetch that url, URI::Fetch::fetch gets a cache miss and restart the whole process. This seems wrong ... :) The attached patch solves this problem. Best regard, Mario Domgoergen -- Mario Domgoergen - Systemadministration Mathematische Institut der Universitaet Bonn Beringstrasse 4, 53115 Bonn / Zimmer 3 Tel.: +49-228-737773 / dom@math.uni-bonn.de

Message body is not shown because sender requested not to inline it.

Thanks -- this was fixed in 0.10