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: |
Description
When xdomain dojo is loaded using scheme-independent format, e.g.:
<script type="text/javascript" src="example.com/js/dojo/dojo.xd.js"></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.
Note: See
TracTickets for help on using
tickets.
Dup of #8546.