This project is archived and is in readonly mode.

#5833 new
Joel Chippindale

Bug in Mime::Type#parse for single media range with accept params

Reported by Joel Chippindale | October 18th, 2010 @ 11:54 AM

Mime::Type#parse doesn't split out the accept params from the media range when there is a single media range.

I.e. it incorrectly parses the valid HTTP_ACCEPTS header "/;0.9" to be "/;0.9" rather than "/"

Comments and changes to this ticket

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>

Referenced by

Pages