On 21/07/2011, at 4:21 AM, Matt Wagner wrote:
We had a weird bug where IE users couldn't log in. It turns out that IE was sending
an odd Accept: header that included a whole bunch of irrelevant formats (image/gif being
the first one), and then ended with */*, which was the first that Rails matched.
Unfortunately, Rails handles */* by matching the first block in respond_to, which in most
cases in our app, was format.js. Ergo, we ended up serving JavaScript files to IE users
for most pages, which the user was prompted to download.
This sounds somewhat similar to a Deltacloud bug (now fixed) around IE and Accept headers
as well:
https://issues.apache.org/jira/browse/DTACLOUD-25
Not sure if you guys want to look at each other's approach to handling this. May or
may not be useful, etc. :)
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org