shithub: werc

Download patch

ref: 0feb54f65ce5559a61eb73bd51be0d99c5c9acf9
parent: d41eac7bf1a334ac3d7193b1374cef0481b11663
author: uriel <uriel@engel.se.cat-v.org>
date: Sat Nov 29 10:23:59 EST 2008

Fix typo in dirfilter, thanks to soul9 for finding this!

--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -22,7 +22,7 @@
 
 # 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 {