Revert "Allow .htaccess files in the source repository"
authorAnders Kaseorg <andersk@mit.edu>
Wed, 11 Feb 2009 10:35:14 +0000 (05:35 -0500)
committerAnders Kaseorg <andersk@mit.edu>
Wed, 11 Feb 2009 10:35:14 +0000 (05:35 -0500)
This reverts commit 424d68e9a39a36f6db7d0612880b33fe4b289b51.

IkiWiki.pm

index c3bdf80b385b69a26f79580a1ad70aa6bf7efac2..4601d8590388d36cc2fc2aebca70318dfefa53ce 100644 (file)
@@ -318,8 +318,7 @@ sub getsetup () {
        },
        wiki_file_prune_regexps => {
                type => "internal",
-               default => [qr/(^|\/)\.\.(\/|$)/, qr/^\.(?!htaccess)/,
-                       qr/\/\.(?!htaccess)/,
+               default => [qr/(^|\/)\.\.(\/|$)/, qr/^\./, qr/\/\./,
                        qr/\.x?html?$/, qr/\.ikiwiki-new$/,
                        qr/(^|\/).svn\//, qr/.arch-ids\//, qr/{arch}\//,
                        qr/(^|\/)_MTN\//,