mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 23:34:34 +04:00
luci-lib-base: forward luci.http.context.request.message to ucode
Some existing LuCI application code accesses the `luci.http.context.request.message.params` HTTP parameter table directly. Forward the `luci.http.context.request.message` object to the ucode `luci.http.message` instance in order to properly support this. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -140,5 +140,6 @@ context = {
|
|||||||
content = function(self, ...) return content(...) end;
|
content = function(self, ...) return content(...) end;
|
||||||
getcookie = function(self, ...) return getcookie(...) end;
|
getcookie = function(self, ...) return getcookie(...) end;
|
||||||
setfilehandler = function(self, ...) return setfilehandler(...) end;
|
setfilehandler = function(self, ...) return setfilehandler(...) end;
|
||||||
|
message = L.http.message
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user