aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-17 13:37:19 -0500
committerJoey Hess <joey@kitenet.net>2007-12-17 13:37:19 -0500
commit90bce7d13923769e0bee64d4a17d67c1df4c1aa9 (patch)
treee87237c9adda59493b205b7ab80f018cc982552a /IkiWiki.pm
parent3b536e00673aba23dd6d7d8850d1c91065e2eaf3 (diff)
downloadikiwiki-90bce7d13923769e0bee64d4a17d67c1df4c1aa9.tar
ikiwiki-90bce7d13923769e0bee64d4a17d67c1df4c1aa9.tar.gz
* Don't refuse to render files with ".." in their name. (Anchor the regexp.)
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 80750f502..a8703450c 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\//,