commit 502bd0ed38fe86f50780ac7069280ad0cd2da552
parent 8d55905164b9c77a820b281ca85e4af8e437c4b2
Author: uriel@engel.se.cat-v.org <unknown>
Date: Sun, 4 Jan 2009 23:24:35 +0100
Fix stupid bug in last commit.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 */)