#2 ✓resolved
Alexander Stanko

Process multipart form

Reported by Alexander Stanko | November 26th, 2009 @ 06:57 PM

when I post form with enctype="multipart/form-data", I recieve an exeption in my production.log:

/!\ FAILSAFE /!\ Thu Nov 26 16:03:00 +0300 2009 Status: 500 Internal Server Error wrong number of arguments (2 for 1)

/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/utils.rb:314:in `read'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/utils.rb:314:in `parse_multipart'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/request.rb:141:in `POST'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/methodoverride.rb:15:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:106:in `call'
/usr/lib/ruby/gems/1.8/gems/webroar-0.2.3/src/ruby_lib/ruby_interface/../rack/adapter/rails.rb:73:in `call'
/usr/lib/ruby/gems/1.8/gems/webroar-0.2.3/src/ruby_lib/ruby_interface/deflater.rb:16:in `call'
/usr/lib/ruby/gems/1.8/gems/webroar-0.2.3/src/ruby_lib/ruby_interface/request_handler.rb:37:in `process'

Comments and changes to this ticket

  • Dharmarth Shah

    Dharmarth Shah November 27th, 2009 @ 04:15 PM

    • Assigned user set to “Dharmarth Shah”
    • State changed from “new” to “resolved”

    Thank you for trying out WebROaR and reporting this issue.

    The server was not creating the rack.input stream object in the correct way. It has now been fixed and committed to the repository.

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 ยป

<strong>Source Code Location</strong>
Repository is at <a href="http://github.com/webroar/webroar" target="_blank">http://github.com/webroar/webroar</a>
<p>
Check out the development master:
git clone git://github.com/webroar/webroar.git

<p>
<strong>Creating a bug report</strong>

When creating a bug report, be sure to include as much relevant information as possible.
<p>
Security vulnerabilities should be reported via an email to security@webroar.in, do not use lighthouse for reporting security vulnerabilities. All content in lighthouse is publicly available as soon as it is posted.

Shared Ticket Bins

People watching this ticket

Pages