diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2012-12-10 14:59:06 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2012-12-10 21:23:59 +0100 |
commit | bc254cc23558f016c3697ecd5d39e58f46908018 (patch) | |
tree | 1f61149a123f1b9a035c3974288280c86dee8ac5 /actionpack/CHANGELOG.md | |
parent | 89ab303d8b78a73cb7d306a026f185986f44aa2a (diff) | |
download | rails-bc254cc23558f016c3697ecd5d39e58f46908018.tar.gz rails-bc254cc23558f016c3697ecd5d39e58f46908018.tar.bz2 rails-bc254cc23558f016c3697ecd5d39e58f46908018.zip |
Prevent raising EOFError on multipart GET request.
Such request can happen on Internet Explorer. When we redirect
after multipart form submission, the request type is changed
to GET, but Content-Type is preserved as multipart. GET request
cannot have multipart body and that caused Rails to fail.
It's similar fix to Rack's one:
https://github.com/chneukirchen/rack/blob/8025a4ae9477d1e6231344c2b7d795aa9b3717b6/lib/rack/request.rb#L224
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index b57408ede3..6df27f1517 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -722,4 +722,6 @@ * `ActionView::Helpers::TextHelper#highlight` now defaults to the HTML5 `mark` element. *Brian Cardarella* +* Prevent raising EOFError on multipart GET request (IE issue). *Adam Stankiewicz* + Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionpack/CHANGELOG.md) for previous changes. |