mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Ajax: Fix cross-domain detection test for non-default port
Closes gh-1954
This commit is contained in:
parent
598946d09f
commit
b635ee2d36
@ -316,7 +316,7 @@ module( "ajax", {
|
||||
|
||||
return [
|
||||
request(
|
||||
loc.protocol + "//" + loc.host + ":" + samePort,
|
||||
loc.protocol + "//" + loc.hostname + ":" + samePort,
|
||||
"Test matching ports are not detected as cross-domain",
|
||||
false
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user