diff options
author | Steven Barth <steven@midlink.org> | 2008-06-15 17:45:10 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-15 17:45:10 +0000 |
commit | eae0e447989a1a37ce6cb8df9f1f353738aab4f6 (patch) | |
tree | 4d8568109967259150413e873af2592a6f975373 /libs/web/luasrc/dispatcher.lua | |
parent | 3455ee6d8d9eb3c0ee8459adb586a800dadaf737 (diff) |
* Added support for CGI SGI
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index e3ebe5b0e4..f5894bffc8 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -84,7 +84,7 @@ end function httpdispatch(request) luci.http.context.request = request context.request = {} - local pathinfo = request.env.PATH_INFO or "" + local pathinfo = request:getenv("PATH_INFO") or "" for node in pathinfo:gmatch("[^/]+") do table.insert(context.request, node) |