ref: e543b4ef101708f6c2415c0180063ad477ea1f4b
parent: 0cc1e5926314c4ef9cb028cf8e9304b2fe9ccab5
author: Uriel <[email protected]>
date: Sat Feb 5 11:50:47 EST 2011
Fix stupid typo in comment.
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -42,7 +42,7 @@
# 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