From: Jan Pazdziora Date: Fri, 10 Jan 2025 13:53:47 +0000 (+0100) Subject: luci-base: allow query params with POST. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=31fec23cddb1cca406a238607c4ea7384ae41ae0;p=project%2Fluci.git luci-base: allow query params with POST. Signed-off-by: Jan Pazdziora --- diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index f2e78b1fa4..a1207f567c 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;