From bd44a5d891c86a2824937ed60a60f0a644d2df30 Mon Sep 17 00:00:00 2001 From: Uriel Date: Sat, 29 Nov 2008 15:23:59 +0100 Subject: [PATCH] Fix typo in dirfilter, thanks to soul9 for finding this! --- bin/werc.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/werc.rc b/bin/werc.rc index 8c2a04a..c913c26 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -22,7 +22,7 @@ fn gentitle { # Don't change var name or trailing ';', dirfilter might be changed from _werc/config! # TODO: Specify the canonical path input format handled by dirfilter -dirfilter = '/\/[._]/d; /'^$forbidden_uri_chars^'/d; /\/(robots.\txt|sitemap\.txt|index\.(md|html|txt|tpl))$/d; /_werc$/d; s,^\./,,; s,\.md$,,; s,\.html,,; s,\.txt,,; ' +dirfilter = '/\/[._]/d; /'^$forbidden_uri_chars^'/d; /\/(robots\.txt|sitemap\.txt|index\.(md|html|txt|tpl))$/d; /_werc$/d; s,^\./,,; s,\.md$,,; s,\.html,,; s,\.txt,,; ' # To be used from config files fn hide_paths {