From d4cea460b51bd9f1b91766cc7c7fffea0d856384 Mon Sep 17 00:00:00 2001 From: Uriel Date: Sun, 4 Jan 2009 23:24:35 +0100 Subject: [PATCH] Fix stupid bug in last commit. --- bin/werc.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/werc.rc b/bin/werc.rc index 00dd0ff..07af18a 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -195,7 +195,7 @@ if(~ $REQUEST_METHOD POST) { if(! ~ $#args 0) pageTitle=`{ echo $args|sed -e 's/ / - /g' -e 's/_/ /g' } -if(~ $req_path '/index') +if(~ $req_path */index) perm_redirect `{echo $req_path | sed 's,/index$,/,'} if(~ $local_path */)