From fc7ffa21a2db011ce961107faa81edf6b42b8a20 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Fri, 10 Jan 2025 14:53:47 +0100 Subject: [PATCH] luci-base: allow query params with POST. Signed-off-by: Jan Pazdziora --- modules/luci-base/htdocs/luci-static/resources/luci.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index f2e78b1fa4ca..a1207f567c45 100644 --- a/modules/luci-base/htdocs/luci-static/resources/luci.js +++ b/modules/luci-base/htdocs/luci-static/resources/luci.js @@ -680,6 +680,7 @@ switch (opt.method) { case 'GET': case 'HEAD': + case 'POST': case 'OPTIONS': opt.url += ((/\?/).test(opt.url) ? '&' : '?') + q; break;