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-Url: http://git.99rst.org/?a=commitdiff_plain;h=40d21303f3975c74b0dc40f9793cac98170a1285;p=openwrt-luci.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 7f8e64093c..3c92480477 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