swerc

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

commit a6324710a6f5a92a62c42c0b28e6fc169e828475
parent e37cfa383e76d3a74ff902764a6fa65b5ae7b49b
Author: Uriel <u@berlinblue.org>
Date:   Sat,  5 Feb 2011 16:50:47 +0000

Fix stupid typo in comment.
Diffstat:
Mbin/werc.rc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/werc.rc b/bin/werc.rc @@ -42,7 +42,7 @@ fn werc_exec_request { # Note: $REQUEST_URI is not officially in CGI 1.1, but seems to be de-facto # Note: We only urldecode %5F->'_' because some sites (stackoverflow.com?) urlencode it in their links, - # perhaps we should completel urldecode the whole url. + # perhaps we should completely urldecode the whole url. req_path=`{echo -n $REQUEST_URI | sed 's/\?.*//; s!//+!/!g; s/%5[Ff]/_/g; s/'^$forbidden_uri_chars^'//g; s/\.\.*/./g; 1q'} req_url=$base_url^$req_path local_path=$sitedir$req_path