From: Jo-Philipp Wich Date: Sat, 28 Jun 2008 23:22:44 +0000 (+0000) Subject: * libs/httpd: print request uri, not real path in directory listings X-Git-Tag: 0.8.0~740 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=40d21303f3975c74b0dc40f9793cac98170a1285;p=project%2Fluci.git * libs/httpd: print request uri, not real path in directory listings --- 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