X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FLibravatar.pm;h=99184ec155c720226fba75283827d8cf4c95207a;hb=3d04937fc0044e30b00196c48a5f258c08b00016;hp=ca9c035df350bd48c6e59b80d0c8316690c21143;hpb=5f45bb2288c4440f63b67da872bc08633b443fae;p=debbugs.git diff --git a/Debbugs/Libravatar.pm b/Debbugs/Libravatar.pm index ca9c035..99184ec 100644 --- a/Debbugs/Libravatar.pm +++ b/Debbugs/Libravatar.pm @@ -94,7 +94,7 @@ sub retrieve_libravatar{ ); my %param = @_; my $cache_location = $param{location}; - $cache_location =~ s/\.[^\.]+$//; + $cache_location =~ s/\.[^\.\/]+$//; # take out a lock on the cache location so that if another request # is made while we are serving this one, we don't do double work my ($fh,$lockfile,$errors) =