]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
further improve the .. regexp
authorJoey Hess <joey@kitenet.net>
Mon, 17 Dec 2007 18:53:51 +0000 (13:53 -0500)
committerJoey Hess <joey@kitenet.net>
Mon, 17 Dec 2007 18:53:51 +0000 (13:53 -0500)
IkiWiki.pm
po/ikiwiki.pot

index a8703450cdc6938b1774a4adefa1a181fead1d56..b0ac8bbb4a1457496294f0d9644f3399044af1ec 100644 (file)
@@ -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\//,
index e7f48d63ed52e1335023487c5bf220e081104641..65f32b22d6407baa2a5388f06c5cd9a3a388ed4d 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-17 13:36-0500\n"
+"POT-Creation-Date: 2007-12-17 13:53-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"