ref: ede9e018602af180e247b6d5a9991fc0dcb91483
parent: d24d62dca2db319021a69fbd1f6a42caa9a8113e
author: sl <uriel@engel.se.cat-v.org>
date: Fri Feb 20 19:05:30 EST 2009
Minor TODO notoe: maybe we should treat relative and absolute url redirect arguments differently.
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -89,6 +89,7 @@
f=$i
if not {
t=$i
+ # TODO: should handle absolute and relative urls differently.
from=$base_url^$req_path
to=`{ echo $from | sed 's!'$f'!'$t'!' }
if(! ~ $to $from)