Applied patch by Wilhelm Köhler. Now doesn't redirect past top-level directory. Rev: server/modules/filesystems/filesystem.pike:1.14