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.