This project is archived and is in readonly mode.
Bug in Mime::Type#parse for single media range with accept params
-
Joel Chippindale
- Tag changed from http accepts, actionpack to http accepts, actionpack, patch
Attached patch for master
-
Joel Chippindale
And patch for 2-3-stable
-
Piotr Sarnacki
- Assigned user set to Piotr Sarnacki
- Importance changed from to Low
Joel: why patch for master uses /;/ and patch for 2.3 uses ';' ?
-
Joel Chippindale
Piotr,
The patch for master does not use /;/, rather they both use ';'
If you look in the patch for master and for 2.3 the line is
[Mime::Type.lookup(accept_header.split(';').first)]Or perhaps I have misunderstood your question
J.
-
Joel Chippindale
This is still an issue with master, here is a new version of the patch which applies cleanly to current master.
