ref: 9960652a1bc1868ccde9b7773922b7babaa3822e
parent: 8b4c955b25eecb90b1795a40785f08505d2d2228
author: sl <uriel@engel.se.cat-v.org>
date: Sun Apr 19 19:56:05 EDT 2009
Don't add extra / to url when we redirect to proper path in wman
--- a/apps/wman/app.rc
+++ b/apps/wman/app.rc
@@ -38,7 +38,7 @@
if not if(~ $req_path $wman_base_uri^*/)
handler_body_main=(tpl_handler apps/wman/page_list.tpl)
if not if(~ $p(2) [A-Z]* [0-9][A-Z]*) # Correct badly capitalized links
- perm_redirect $wman_base_uri/^$p(1)^/^`{echo $p(2) |tr 'A-Z' 'a-z'}
+ perm_redirect $wman_base_uri^$p(1)^/^`{echo $p(2) |tr 'A-Z' 'a-z'}
}
# Search