shithub: werc

Download patch

ref: 1609e45f65be90b8b3cbd472177375a3b19d9243
parent: 7078378dc5d96a41c432b4f8e2b009d067869e00
author: uriel <[email protected]>
date: Thu Jan 15 22:18:10 EST 2009

Add comment on future issue for apps with 'synthetic' dirs.

--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -173,7 +173,7 @@
 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)