You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The isXDomain() function queries the port this way:
var locPort = window.location.port || 80;
At least with FireFox 5 window.location.port is also an empty string for HTTPS pages on standard port. This means that locPort==80 for HTTPS pages which makes isXDomain() return true.
Perhaps checking window.location.protocol=="https:" could solve the problem.
The text was updated successfully, but these errors were encountered:
The isXDomain() function queries the port this way:
var locPort = window.location.port || 80;
At least with FireFox 5
window.location.port
is also an empty string for HTTPS pages on standard port. This means thatlocPort==80
for HTTPS pages which makes isXDomain() return true.Perhaps checking
window.location.protocol=="https:"
could solve the problem.The text was updated successfully, but these errors were encountered: