Req #29401 [Fbk->NoF]: Form POST not decoded properly

From: Date: Sun, 29 Jan 2017 04:22:40 +0000
Subject: Req #29401 [Fbk->NoF]: Form POST not decoded properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207009@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=29401&edit=1 ID: 29401 Updated by: php-bugs@lists.php.net Reported by: xmlguy at hotmail dot com Summary: Form POST not decoded properly -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: *General Issues Operating System: Win XP Pro PHP Version: 4.3.8 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2017-01-20 20:23:57] heiglandreas@php.net Is this still relevant? ------------------------------------------------------------------------ [2011-12-21 18:06:01] mikebianc at aol dot com fwiw, python parses this properly. I'm just seeing an empty array! <form enctype="multipart/form-data" action='/fileupload.php' method=post> <input multiple=true type=file name='file["my{}stuff"].data'><input type=submit value='submit'></form> var_dump($_FILES) yields: array(0) {} If I change the 'action' to a python script, I see this: [ { 'file["my{}stuff"].data’, ‘testfile2.txt’, ‘this is another test file (2)\n’ }, { ‘file["my{}stuff"].data’, ‘testfile1.txt’, ‘this is test file 1\n’ } ] ] POST source: Content-Type: multipart/form-data; boundary=---------------------------141539390286251557952150290 Content-Length: 468 -----------------------------141539390286251557952150290 Content-Disposition: form-data; name="file[\"my{}stuff\"].data"; filename="testfile2.txt" Content-Type: text/plain this is another test file (2) -----------------------------141539390286251557952150290 Content-Disposition: form-data; name="file[\"my{}stuff\"].data"; filename="testfile1.txt" Content-Type: text/plain this is test file 1 -----------------------------141539390286251557952150290-- ------------------------------------------------------------------------ [2004-10-12 00:32:05] xmlguy at hotmail dot com I indicated this as an mbstring related problem because the similar bugs I found used this as the category. See bugs 20114 19507 19347 20024 20133. ------------------------------------------------------------------------ [2004-10-08 16:17:43] moriyoshi@php.net How come this could be a mbstring related problem..? ------------------------------------------------------------------------ [2004-07-27 02:44:23] xmlguy at hotmail dot com with the version of the form I posted, the expected and actual result sample data should obviously reflect the strings "John" and "Doe" instead of "billy" and "joel", respectfully. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=29401 -- Edit this bug report at https://bugs.php.net/bug.php?id=29401&edit=1

« previous php.bugs (#207009) next »