From 31fec23cddb1cca406a238607c4ea7384ae41ae0 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 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; -- 2.30.2