Problem with x-www-form-urlencoded

Richard Penwell almightylinuxgod at me.com
Thu Jul 15 18:30:35 EDT 2010


So I discovered this was a problem whereby request.body.to_s behaves differently.  I wonder if TeeStream should define to_s as an alias for read?

Sent from my iPhone

On Jul 15, 2010, at 6:14 PM, Eric Wong <normalperson at yhbt.net> wrote:

> Richard Penwell <almightylinuxgod at me.com> wrote:
>> Howdy all,
> 
>> I'm having a strange issue after moving from Thin to Unicon.  One of
>> the form values being posted is not showing up in our request, below
>> you can see a Rails log entry and notice that there is no parameter
>> 'messageID' but it shows in the
>> 'action_dispatch.request.request_parameters' collection.
> 
> Hi Richard,  Which versions of Rails and Rack are you using?
> 
> There's a chance Thin and Unicorn could be loading different
> versions of Rack and we might be hitting a bug in one version
> of Rack.
> 
>> Has anyone else seen this, and is there a solution?
> 
> I haven't seen nor looked into this myself, but I've heard some talk of
> multipart oddness in the Rack mailing list
> 
> -- 
> Eric Wong


More information about the mongrel-unicorn mailing list