* Don't refuse to render files with ".." in their name. (Anchor the regexp.)
[ikiwiki.git] / IkiWiki.pm
index 80750f502da428188c768c7c99eb62f637b08993..a8703450cdc6938b1774a4adefa1a181fead1d56 100644 (file)
@@ -32,7 +32,7 @@ memoize("file_pruned");
 
 sub defaultconfig () { #{{{
        return
-       wiki_file_prune_regexps => [qr/\.\./, qr/^\./, qr/\/\./,
+       wiki_file_prune_regexps => [qr/^\.\.$/, qr/^\./, qr/\/\./,
                qr/\.x?html?$/, qr/\.ikiwiki-new$/,
                qr/(^|\/).svn\//, qr/.arch-ids\//, qr/{arch}\//,
                qr/(^|\/)_MTN\//,