diff options
author | Joey Hess <joey@kitenet.net> | 2007-12-17 13:37:19 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2007-12-17 13:37:19 -0500 |
commit | 90bce7d13923769e0bee64d4a17d67c1df4c1aa9 (patch) | |
tree | e87237c9adda59493b205b7ab80f018cc982552a /IkiWiki.pm | |
parent | 3b536e00673aba23dd6d7d8850d1c91065e2eaf3 (diff) | |
download | ikiwiki-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.pm | 2 |
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\//, |