mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Ajax: Fix cross-domain detection test for non-default port
Closes gh-1954
This commit is contained in:
parent
d30c482910
commit
83b038fc81
@ -321,7 +321,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