diff options
author | Joey Hess <joey@kitenet.net> | 2007-12-17 13:53:51 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2007-12-17 13:53:51 -0500 |
commit | dd0b844477fd11ed2e9956c15b4a2b2e30e6586b (patch) | |
tree | bf20a07c957c0791a15a4c3e4d56e4fe01cde3cf /IkiWiki.pm | |
parent | c10f1a3f4c877d583b80d278259f768ab60fd421 (diff) | |
download | ikiwiki-dd0b844477fd11ed2e9956c15b4a2b2e30e6586b.tar ikiwiki-dd0b844477fd11ed2e9956c15b4a2b2e30e6586b.tar.gz |
further improve the .. regexp
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index a8703450c..b0ac8bbb4 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -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\//, |