This project is archived and is in readonly mode.

Changeset [61950a4b05ce1b5640ac3f3720f9a3368ce95a29] by Neeraj Singh

November 22nd, 2010 @ 10:06 PM

current code ignores http header "Accept" if it
has ....,/ .

It is possible to a device to send
request such that / appear at the beginning of the
"Accept" header. This patch ensures that "Accept" header is ignored for such cases too.

Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/61950a4b05ce1b5640ac3f3720f9a...

Committed by Neeraj Singh

  • M actionpack/lib/action_dispatch/http/mime_negotiation.rb
  • M actionpack/test/controller/mime_responds_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>