SignalR/SignalR — pull request #1199 by NTaylorMullen (2012-12-21 19:32:38+00:00)
Title: #1156 - Fixed inaccurate cross domain checking

We used to inaccurately check cross domain by taking the current window.location then creating an anchor tag and comparing the two protocol's/host's.

The issue with this approach is that when a user would specify port 80 in the signalr url, such as localhost:80/signalr the window.location would not show the :80 but the link would causing SignalR to think it needed to shift into Cross Domain mode.