Minor TODO notoe: maybe we should treat relative and absolute url redirect arguments differently.
This commit is contained in:
parent
492f3b96f1
commit
001037ee32
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue