X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FLibravatar.pm;fp=Debbugs%2FLibravatar.pm;h=99184ec155c720226fba75283827d8cf4c95207a;hb=e4c7c1669e2ee2296e84ad2da0e20a06f3c82497;hp=ca9c035df350bd48c6e59b80d0c8316690c21143;hpb=bdbda0ca2707691579fa6073594cddcfbdfa13d7;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) =