| Update dirfilter to hide .html .txt and .tpl indexes from listing too. - swerc … | |
| git clone git://git.suckless.org/swerc | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 30d30045b5293daba8ad905bdb43a5b19aef90b4 | |
| parent 136e9a5c100bab660e9b58d4c3f6e9b451e13204 | |
| Author: [email protected] <unknown> | |
| Date: Sat, 15 Nov 2008 20:30:08 +0100 | |
| Update dirfilter to hide .html .txt and .tpl indexes from listing too. | |
| Diffstat: | |
| M bin/werc.rc | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git 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… | |
| # TODO: Specify the canonical path input format handled by dirfilter | |
| -dirfilter = '/\/[._]/d; /'^$forbidden_uri_chars^'/d; /\/(robots.\txt|sitemap\.… | |
| +dirfilter = '/\/[._]/d; /'^$forbidden_uri_chars^'/d; /\/(robots.\txt|sitemap\.… | |
| # To be used from config files | |
| fn hide_paths { |