Skip to content

Commit 31fec23

Browse files
adeltonsystemcrash
authored andcommitted
luci-base: allow query params with POST.
Signed-off-by: Jan Pazdziora <jan.pazdziora@code.adelton.com>
1 parent 070b2e5 commit 31fec23

File tree

1 file changed

+1
-0
lines changed
  • modules/luci-base/htdocs/luci-static/resources

1 file changed

+1
-0
lines changed

modules/luci-base/htdocs/luci-static/resources/luci.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,7 @@
680680
switch (opt.method) {
681681
case 'GET':
682682
case 'HEAD':
683+
case 'POST':
683684
case 'OPTIONS':
684685
opt.url += ((/\?/).test(opt.url) ? '&' : '?') + q;
685686
break;

0 commit comments

Comments
 (0)