From 40d21303f3975c74b0dc40f9793cac98170a1285 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 28 Jun 2008 23:22:44 +0000 Subject: * libs/httpd: print request uri, not real path in directory listings --- libs/httpd/luasrc/httpd/handler/file.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/httpd/luasrc/httpd/handler/file.lua b/libs/httpd/luasrc/httpd/handler/file.lua index 7f8e64093..3c9248047 100644 --- a/libs/httpd/luasrc/httpd/handler/file.lua +++ b/libs/httpd/luasrc/httpd/handler/file.lua @@ -117,9 +117,9 @@ function Simple.handle_get(self, request, sourcein, sinkerr) '\n' .. '\n' .. - 'Index of %s\n' .. - '

Index of %s