Commit b635ee2d authored by Victor Homyakov's avatar Victor Homyakov Committed by Dave Methvin

Ajax: Fix cross-domain detection test for non-default port

Closes gh-1954
parent 598946d0
......@@ -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
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment