#6 open
Stuart Eccles

Rework read_params so that other methods (such as REPORT) can acquire data that’s been sent.

Reported by Stuart Eccles | April 18th, 2007 @ 08:27 PM

Reported by Alex Zepeda in liverail.net

with suggested patch https://blarf.homeip.net/~alex/r...

Rework read_params so that other methods (such as REPORT) can acquire data that’s been sent. My thinking here was that PUT and POST will have parameters in the request body, but that those parameters will be of mime type ‘application/x-www-form-urlencoded’.

With that in mind, Rails will now read the request body anytime there is one (so that it’s accessible), and it will try to parse the query string. Unless the request body is of type ‘application/x-www-form-urlencoded’ it will use the query string to populate the paramaters ‘hash’.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages