Opened 12 years ago

Closed 12 years ago

#10696 closed defect (duplicate)

Invalid XDomain resource detection in some cases

Reported by: vladar Owned by: anonymous
Priority: high Milestone: tbd
Component: Core Version: 1.4.0
Keywords: Cc: [email protected]
Blocked By: Blocking:


When xdomain dojo is loaded using scheme-independent format, e.g.:

<script type="text/javascript" src=""></script>

"dojo.require" will try to load modules as if they are not xdomain modules. The root of problem is function "dojo._xdIsXDomainPath", which returns "false" in such cases for every required module, while it should return "true".

P.S. This form of URL is valid RFC URL, which is supported by all major browsers, and is very convenient to use when both http and https schemes are used on the site.

It would be great if dojo supported it. And fix should be trivial.

Change History (1)

comment:1 Changed 12 years ago by bill

Resolution: duplicate
Status: newclosed

Dup of #8546.

Note: See TracTickets for help on using tickets.