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.
After fixing this, I discovered a failing test. The test didn't make sense to me
because I'm pretty sure those features were only in the old UI, so I deleted the test.
It would probably be good if someone else could give this bit a quick sanity-check...
-- Matt
Show replies by thread