swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 089b1df76af516adea1d46bb46960009080708a3
parent 87454f9e98011710fd93e7ba3cd57b6ec13859d8
Author: uriel@soma <unknown>
Date:   Sat, 21 Feb 2009 00:05:30 +0000

Minor TODO notoe: maybe we should treat relative and absolute url redirect arguments differently.
Diffstat:
Mbin/werc.rc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bin/werc.rc b/bin/werc.rc @@ -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)