On 09.02.2020 16:26, Vincent Veyron wrote:
On Sun, 9 Feb 2020 10:57:04 +0000
Scott Alexander <scott.alexan...@humak.fi> wrote:
I meant I'm posting data from a form, javascript is collecting a series of numbers
from a <input type=text> as a string.
Not really clear what happens here? I guess Javascript writes the content of
the text input?
Javascript seperates each number with a '/' then I use split within Perl to get
the list of numbers into an array.
I have a <FORM> with list of users and GSM numbers. If that list is about 600
users it has worked fine. I was testing with about 4000 users when I came across this
problem.
I just tried the line of code you posted earlier (@number = split /\//,
$req->param("numbers")) on a form that I use, it processes a text input of 50
000 ten digit numbers separated by a slash with no problem.
I use Apache/2.4.25 (Debian), libapache2-mod-per 2.0.10-2+deb9u and
libapache2-request-perl 2.13-7~deb9u1
Might it not have something to do with the *format* used for the POST (from javascript /
<form>). I mean
Content-type : application/x-www-form-urlencoded
or
Content-type : multipart/form-data
or even
Content-type : text/plain
The parser for that data is certainly different on the server side, and one may be running
against different limits/quirks.
of course a segfault is not nice anyway..
Re (e.g.9 .
https://dev.to/sidthesloth92/understanding-html-form-encoding-url-encoded-and-multipart-forms-3lpa