sipb-www
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ed3a27
)
Allow .htaccess files in the source repository
author
Quentin Smith
<quentin@mit.edu>
Tue, 27 Jan 2009 09:10:27 +0000
(
04:10
-0500)
committer
Quentin Smith
<quentin@mit.edu>
Tue, 27 Jan 2009 09:10:31 +0000
(
04:10
-0500)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 4601d8590388d36cc2fc2aebca70318dfefa53ce..c3bdf80b385b69a26f79580a1ad70aa6bf7efac2 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-318,7
+318,8
@@
sub getsetup () {
},
wiki_file_prune_regexps => {
type => "internal",
- default => [qr/(^|\/)\.\.(\/|$)/, qr/^\./, qr/\/\./,
+ default => [qr/(^|\/)\.\.(\/|$)/, qr/^\.(?!htaccess)/,
+ qr/\/\.(?!htaccess)/,
qr/\.x?html?$/, qr/\.ikiwiki-new$/,
qr/(^|\/).svn\//, qr/.arch-ids\//, qr/{arch}\//,
qr/(^|\/)_MTN\//,