]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
unfinished file_prune revamp
[ikiwiki.git] / IkiWiki.pm
index b37b1f34485b6301dfd7847d75ebb625e8c6295d..a5f83ac7a85c8e72bd59d5e9cf600b84440919f0 100644 (file)
@@ -355,7 +355,7 @@ sub getsetup () {
        },
        wiki_file_prune_regexps => {
                type => "internal",
-               default => [qr/(^|\/)\.\.(\/|$)/, qr/^\./, qr/\/\./,
+               default => [qr/(^|\/)\.\.(\/|$)/, qr/^\//, qr/^\./, qr/\/\./,
                        qr/\.x?html?$/, qr/\.ikiwiki-new$/,
                        qr/(^|\/).svn\//, qr/.arch-ids\//, qr/{arch}\//,
                        qr/(^|\/)_MTN\//, qr/(^|\/)_darcs\//,