diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2019-01-01 04:58:48 +0000 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2019-01-01 05:04:51 +0000 |
commit | 7908b2b71cd42c4bc6a76f0baabb4cde6d09f553 (patch) | |
tree | 157a49ebb7240f80e3b76064edd4d5a9aca125c0 /modules/luci-mod-network/luasrc/model | |
parent | 85b67625f74031186b9ffa26c966082275796868 (diff) |
treewide: fix query arguments to admin/system/opkg
Right now the handler only recognizes "query=xx" argument, others will
be ignored.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/luasrc/model')
-rw-r--r-- | modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua index 05689d389b..5b230795c3 100644 --- a/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua @@ -227,7 +227,7 @@ if not net:is_installed() then function p_install.write() return luci.http.redirect( luci.dispatcher.build_url("admin/system/opkg") .. - "?submit=1&install=%s" % net:opkg_package() + "?query=%s" % net:opkg_package() ) end end |