mirror of
https://github.com/jquery/jquery.git
synced 2026-02-19 09:24:23 -05:00
Ajax: Fix cross-domain detection test for non-default port
Closes gh-1954
This commit is contained in:
committed by
Dave Methvin
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
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user