Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgi-io: Reading part data, byte offset 199489, the value exceeds the maximum allow size. #25276

Open
peterwillcn opened this issue Nov 8, 2024 · 1 comment

Comments

@peterwillcn
Copy link
Contributor

peterwillcn commented Nov 8, 2024

for e in fs.dir("/etc/test") do
     glist = m:field(TextValue, e, e, nil)
     glist.rmempty = false
     glist.rows = 12
 
     function glist.cfgvalue()
        return nixio.fs.readfile("/etc/test/" .. e) or ""
     end
     function glist.write(self, section, value)
        sync_value_to_file(value, "/etc/test/" .. e)
     end
 end

At reading part data, byte offset 199489, the value exceeds the maximum allow size

In mimedecode_message_body(), file /usr/share/ucode/luci/http.uc, line 112, byte 11:
  called from function parse_message_body (/usr/share/ucode/luci/http.uc:180:51)
  called from function [anonymous function] (/usr/share/ucode/luci/http.uc:450:3)
  called from function [anonymous function] (/usr/share/ucode/luci/http.uc:374:22)
  called from function require_post_security (/usr/share/ucode/luci/dispatcher.uc:680:47)
  called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1000:35)
  called from anonymous function (/www/cgi-bin/luci:39:13)
@brada4
Copy link

brada4 commented Nov 10, 2024

How did you get there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants