summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2019-01-01 04:58:48 +0000
committerYousong Zhou <yszhou4tech@gmail.com>2019-01-01 05:04:51 +0000
commit7908b2b71cd42c4bc6a76f0baabb4cde6d09f553 (patch)
tree157a49ebb7240f80e3b76064edd4d5a9aca125c0 /applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
parent85b67625f74031186b9ffa26c966082275796868 (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 'applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua')
-rw-r--r--applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
index 5bfd3ddcf..553b297ac 100644
--- a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
+++ b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
@@ -99,7 +99,7 @@ else
o.write = function()
return luci.http.redirect(
luci.dispatcher.build_url("admin/system/opkg") ..
- "?submit=1&install=iptables-mod-conntrack-extra"
+ "?query=iptables-mod-conntrack-extra"
)
end
end