Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove header bloat introduced by BestStandardsSupport middleware #8914
After the Rails server ran for long enough, Chome started returning a
Investigating showed that the same
This patch ensures that the IE=Edge and other header variables only get appended to the X-UA-Compatible header if they are not there already, and it makes the test pass that I modified to catch the problem.
@guilleiguaran, when will that happen? Depending on how soon, maybe this should be applied anyway for the mean time.
@steveklabnik, I did some benchmarks using some variants. If I cut out the split/each and just search the original header to see if it contains