changeset 1666:debeeba5cce6

allow sitemap action for spiders
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 06 Nov 2006 18:15:37 +0100
parents c57f72b49ea2
children e3c56a97e30c
files MoinMoin/request/__init__.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Mon Nov 06 18:08:46 2006 +0100
+++ b/MoinMoin/request/__init__.py	Mon Nov 06 18:15:37 2006 +0100
@@ -877,7 +877,8 @@
             action != 'rss_rc' and
             # allow spiders to get attachments and do 'show'
             not (action == 'AttachFile' and 'do=get' in qs) and
-            action != 'show'
+            action != 'show' and
+            action != 'sitemap'
             ):
             forbidden = self.isSpiderAgent