diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-28 19:55:31 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-28 19:55:31 +0000 |
commit | 388e5d3fac146ee10b636aca195620c562cdb522 (patch) | |
tree | 73bdc787182ef9b8b76d8ef91ba7bff8fc9fa3c9 /actionpack/lib/action_controller/request.rb | |
parent | 4aca503d0e7595efde10e5b225eb11937693b117 (diff) | |
download | rails-388e5d3fac146ee10b636aca195620c562cdb522.tar.gz rails-388e5d3fac146ee10b636aca195620c562cdb522.tar.bz2 rails-388e5d3fac146ee10b636aca195620c562cdb522.zip |
Fixed that ActionController::Base#read_multipart would fail if boundary was exactly 10240 bytes (closes #10886) [ariejan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/request.rb')
-rwxr-xr-x | actionpack/lib/action_controller/request.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/request.rb b/actionpack/lib/action_controller/request.rb index d817004398..4889d296ef 100755 --- a/actionpack/lib/action_controller/request.rb +++ b/actionpack/lib/action_controller/request.rb @@ -585,7 +585,6 @@ module ActionController else params[name] = [content] end - break if buf.size == 0 break if content_length == -1 end raise EOFError, "bad boundary end of body part" unless boundary_end=~/--/ |