Giter Site home page Giter Site logo

Comments (3)

tenderlove avatar tenderlove commented on May 21, 2024

Just to be specific, the part of RFC1521 paragraph 7.2.1 that applies is this:

There appears to be room for additional information prior to the
first encapsulation boundary and following the final boundary. These
areas should generally be left blank, and implementations must ignore
anything that appears before the first boundary or after the last
one.

Here is a patch with a test and fix.

from rack.

tenderlove avatar tenderlove commented on May 21, 2024

read from the input until we find the boundary. closed by a5dae21

from rack.

sarmiena avatar sarmiena commented on May 21, 2024

Was this ever released in core? Just came across this exception:

Error during failsafe response: ActionView::Template::Error
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:48:in method_missing' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_dispatch/http/parameters.rb:10:inparameters'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb:3:in __home_aldo__rvm_gems_ruby_______p__rails__gems_actionpack_______lib_action_dispatch_middleware_templates_rescues_diagnostics_erb___564800590_97272930_941118300' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_view/template.rb:135:inblock in render'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.7/lib/active_support/notifications.rb:54:in instrument' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_view/template.rb:127:inrender'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:59:in block in _render_template' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:inblock in instrument'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in instrument' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:ininstrument'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:56:in _render_template' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:26:inrender'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:88:in rescue_action_locally' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:68:inrender_exception'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:59:in call' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/railties-3.0.7/lib/rails/rack/logger.rb:13:incall'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rack-1.2.2/lib/rack/runtime.rb:17:in call' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72:incall'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rack-1.2.2/lib/rack/lock.rb:11:in block in call' <internal:prelude>:10:insynchronize'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rack-1.2.2/lib/rack/lock.rb:11:in call' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30:incall'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/railties-3.0.7/lib/rails/application.rb:168:in call' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/railties-3.0.7/lib/rails/application.rb:77:inmethod_missing'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14:in call' /home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rack-1.2.2/lib/rack/content_length.rb:13:incall'
/home/aldo/.rvm/gems/ruby-1.9.2-p0@rails3/gems/rack-1.2.2/lib/rack/handler/webrick.rb:52:in service' /home/aldo/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111:inservice'
/home/aldo/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' /home/aldo/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:inblock in start_thread'

Started POST "/documents.js" for 70.181.90.212 at 2011-04-29 01:40:39 -0500

EOFError (bad content body)

from rack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.