Req #26986 [Opn->Csd]: make error message for exceding post_max_size friendlier
| From: | requinix@php.net | Date: | Sat, 05 May 2018 17:32:59 +0000 |
| Subject: | Req #26986 [Opn->Csd]: make error message for exceding post_max_size friendlier | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215059@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=26986&edit=1
ID: 26986
Updated by: requinix@php.net
Reported by: felix at students dot poly dot edu
Summary: make error message for exceding post_max_size
friendlier
-Status: Open
+Status: Closed
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: Linux 2.6.1
PHP Version: 4.3.4
-Assigned To:
+Assigned To: requinix
Block user comment: N
Private report: N
New Comment:
Old request is old.
Current message is
> POST Content-Length of $X bytes exceeds the limit of $Y bytes
which sounds clear to me.
Previous Comments:
------------------------------------------------------------------------
[2004-01-21 01:42:51] felix at students dot poly dot edu
Description:
------------
I recently made a mistake in php.ini file
I have typed
post_max_size=24MB
Php took this as 24 bytes. Maybe the checking should be stricter there too.
The warning was not very clear it was like
Warning Unknown() Actual POST size did not match Contnet-Lenigh and exceding 24 bytes.
Warning should be error and it should be clear like
"Size of Post message exceded maximum allowed size of 24bytes"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=26986&edit=1