Req #55815 [Sus]: PUT request data should be parsed just like POST

From: Date: Sun, 10 Dec 2023 19:16:27 +0000
Subject: Req #55815 [Sus]: PUT request data should be parsed just like POST
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246027@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55815&edit=1

 ID:                 55815
 Updated by:         ilutov@php.net
 Reported by:        catch dot dave at gmail dot com
 Summary:            PUT request data should be parsed just like POST
 Status:             Suspended
 Type:               Feature/Change Request
 Package:            Streams related
 Operating System:   All
 PHP Version:        5.4.0beta1
 Block user comment: N
 Private report:     N

 New Comment:

Yes, there's an RFC that should be voted on in the coming weeks. https://wiki.php.net/rfc/rfc1867-non-post


Previous Comments:
------------------------------------------------------------------------
[2023-12-10 19:13:26] satoriestore at gmail dot com

Schade. Gibt es ein Update zu diesem Thema?
12 Jahre seit der Meldung...

------------------------------------------------------------------------
[2023-12-10 19:08:45] dawidgora at icloud dot com

Any update on this one? 2011 was 12 year ago lol

------------------------------------------------------------------------
[2023-05-15 14:04:30] lucas at decrock dot me

As I was developing a REST API, I came across an issue that surprised me: the API doesn't
support PATCH requests. It's disappointing to see such a basic feature missing in 2023, and it
could potentially reflect poorly on the professionalism of the API's developers.

------------------------------------------------------------------------
[2023-01-05 10:07:19] cyril dot garsaud at gmail dot com

PHP 8.2 has been released, with no fixes for this critical issue. Developers are forced to find
workarounds and move away from REST guidelines because of this bug. Eventually, they might abandon
the PHP language...

------------------------------------------------------------------------
[2022-02-05 18:38:44] svaneekelen at avt dot nl

It is unbelievable that this is still not implemented after 11 years. This is one of the main
reasons why people leave php and consider it a old language. I think I don't need to repeat
what the other members on this form said but this is ridiculous there is no reason to not implement
a fix for this on the php side. The least that can be done is to upload in this case the file to
$_FILES what doesn't even happen in php 7.4 with put request. While it seems that the php dev
team does not even want to burn their fingers on this massive bug for 2 days because that is what it
would take because the logic exists already elsewhere. The least that php should do is bring in a
stable solution to read these files because this is basic functionality.

------------------------------------------------------------------------


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=55815


--
Edit this bug report at https://bugs.php.net/bug.php?id=55815&edit=1


Thread (28 messages)

« previous php.bugs (#246027) next »