Minor TODO notoe: maybe we should treat relative and absolute url redirect arguments differently.

This commit is contained in:
Uriel 2009-02-21 00:05:30 +00:00
parent 492f3b96f1
commit 001037ee32

View file

@ -89,6 +89,7 @@ fn werc_exec_request {
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)