anchor the URL for checking whether or not to generate a sitemap

This commit is contained in:
Colin Kuskie 2008-11-04 20:15:47 +00:00
parent d1c3dc46f5
commit 84a6f71c9b

View file

@ -50,7 +50,7 @@ sub handler {
my $session = shift;
my $p = $session->url->page();
unless ($p =~ m/siteindex\.xml/i) {
unless ($p =~ m/siteindex\.xml$/i) {
return undef;
}