git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
070b2e5
)
luci-base: allow query params with POST.
author
Jan Pazdziora
<redacted>
Fri, 10 Jan 2025 13:53:47 +0000
(14:53 +0100)
committer
Paul Donald
<redacted>
Wed, 22 Jan 2025 14:53:02 +0000
(15:53 +0100)
Signed-off-by: Jan Pazdziora <redacted>
modules/luci-base/htdocs/luci-static/resources/luci.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/luci.js
b/modules/luci-base/htdocs/luci-static/resources/luci.js
index f2e78b1fa4cad88e182bb71da0fb1a328a3b00f0..a1207f567c45dc8dcec478c6bdd407e824f0d17d 100644
(file)
--- 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;
git clone https://git.99rst.org/PROJECT