This project is archived and is in readonly mode.
Rack in Rails 2.3.2 throws fatal error with small uploads
-
Marius Mathiesen
I'm having the same problem. Like Nate, this happens only in Ruby 1.9. I've confirmed the bug to be in both Ruby 1.9.1 and the trunk version of Ruby.
-
Marius Mathiesen
This was due to a bug in Rack, which has now been resolved: http://github.com/rack/rack/comm...
Patching Rack works in my case; as Rack is no longer bundled with Rails, this should help folks on newer Rails versions.
-
Marius Mathiesen
- Tag changed from 2.3.2, actionpack, exception, failsafe, multipart, rack to 2.3.2, actionpack, exception, failsafe, multipart, patch, rack
Attaching a patch for the 2.3.2 tag
-
James Healy
The patch doesn't seem to help on my system. I'm getting this error when I try to upload a UTF-8 text file via a form (only on ruby 1.9 obviously).
-
James Healy
Oh, my bad. I just had to apply the patch to the rack gem as well as the vendored copy in rails 2.3.2.
Apologies for the noise!
-
Prem Sichanugrist (sikachu)
- State changed from new to wontfix

