Development

#5676 (If REQUEST_METHOD=DELETE, add x-www-form-urlencoded params to sfWebRequest's parameterHolder)

You must first sign up to be able to contribute.

Ticket #5676 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

If REQUEST_METHOD=DELETE, add x-www-form-urlencoded params to sfWebRequest's parameterHolder

Reported by: joes Assigned to: dwhittle
Priority: minor Milestone: 1.3.0 alpha1
Component: other Version: 1.2.2
Keywords: sfWebRequest Cc:
Qualification: Ready for core team

Description

PHP does not automatically parse x-www-form-urlencoded params originating from DELETE requests. Therefore, to make symfony REST compliant I suggest that symfony should parse x-www-form-urlencoded params originating from DELETE-requests and add them to sfRequest's parameterHolder. I can see that the same was done for PUT requests in [14699] for 1.3 so it should be pretty easy to add the same support for DELETE requests.

Furthermore, because symfony has been advertised as being REST compliant since development of version 1.2 began, I am of the opinion that any fixes towards REST compliance in 1.3 should be backported to 1.2.

Change History

01/21/09 09:50:31 changed by dwhittle

  • owner changed from fabien to dwhittle.
  • status changed from new to assigned.
  • qualification changed from Unreviewed to Ready for core team.
  • milestone set to 1.3.0.

09/26/09 14:42:14 changed by fabien

(In [22451]) [doc] [1.3] documented enhancements in REST support (refs #5676, #5268, #4746)

09/26/09 14:42:16 changed by fabien

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [22452]) [1.3] fixed PUT and DELETE parameters (closes #5676, refs #5268, #4746)