Add comment on future issue for apps with 'synthetic' dirs. - swerc - anselm's … | |
git clone git://git.suckless.org/swerc | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 66bbd1fb9ce2ca2c7dd8208b3aa075b9b654e869 | |
parent c60b22c95c6fcd35a5c13c37012b7d40bac8c0ad | |
Author: [email protected] <unknown> | |
Date: Fri, 16 Jan 2009 03:18:10 +0100 | |
Add comment on future issue for apps with 'synthetic' dirs. | |
Diffstat: | |
M bin/werc.rc | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/bin/werc.rc b/bin/werc.rc | |
@@ -173,7 +173,7 @@ if(~ $req_path */index) | |
if(~ $local_path */) { | |
if(test -d $local_path) | |
local_path=$local_path^'index' | |
- if not | |
+ if not # XXX: This redir might step on apps with synthetic dirs. | |
perm_redirect `{echo $req_path|sed 's,/+$,,'} | |
} | |
if not if(test -d $local_path) |