[php-maint] Bug#602812: Bug#602812: php5: a posted array limited to 999 elements

Mattias Nordström mattias.nordstrom at sysnor.fi
Mon Feb 21 07:37:08 UTC 2011


Hi,

I tested my own test script with the new PHP packages but the same issue remains.

Regards,
Mattias


-----Original Message-----
From: ondrej at sury.org [mailto:ondrej at sury.org] On Behalf Of Ondrej Surý
Sent: 16. helmikuuta 2011 18:46
To: Richard Limanowski; 602812 at bugs.debian.org
Cc: Debian Bug Tracking System
Subject: Bug#602812: [php-maint] Bug#602812: php5: a posted array limited to 999 elements

Richard, could you please retest with 5.3.5-1 which I just uploaded to unstable?

That would help narrow down the patch which is causing that.

O.

On Mon, Nov 8, 2010 at 13:56, Richard Limanowski
<r.limanowski at nttcable.de> wrote:
> Package: php5
> Version: 5.3.2-2
> Severity: important
>
> Posting the content of a form containing more than 1000 checkboxes
> yields an array of maximum 999 elements. Here ist a test-case:
>
> <?
> if (isset($_POST['Action']) && ($_POST['Action'] == 'do_it')) {
>   echo count($_POST['SEL']);
> }
> else {
>  echo "<form method=post><input type=submit name=Action value=do_it>\n";
>  for ($i = 0; $i <= 2000; $i ++)
>    echo "$i <input type=checkbox name='SEL[]' checked value=$i>\n",
>  echo "</form>\n";
> }
> ?>
>
> Regards
> Richard Limanowski
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers testing
>  APT policy: (500, 'testing')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5           5.3.2-2    server-side, HTML-embedded scripti
> ii  php5-common                   5.3.2-2    Common files for packages built fr
>
> php5 recommends no packages.
>
> php5 suggests no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
>



-- 
Ondřej Surý <ondrej at sury.org>
http://blog.rfc1925.org/



-- 
To unsubscribe, send mail to 602812-unsubscribe at bugs.debian.org.


More information about the pkg-php-maint mailing list