Opened 11 years ago

Closed 11 years ago

#7916 closed defect (wontfix)

dojo.moduleUrl does not work correctly in some cases.

Reported by: virsir Owned by: anonymous
Priority: high Milestone: future
Component: General Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

if a webapp loads dojo with this kind of url : "/app/get?location=javascript/dojo/dojo.js". dojo.moduleUrl can not parse to a correct address location.

Change History (1)

comment:1 Changed 11 years ago by James Burke

Milestone: 1.2.1future
Resolution: wontfix
Status: newclosed

Those kinds of URLs are hard to guess what the URL pattern should be, particularly if there are other URL parameters.

You can set djConfig.baseUrl to the correct path for Dojo to get around the problem. If that baseUrl contains an URL with URL parameters, that will likely fail too. That is an unsupported use case with the Dojo loader.

Note: See TracTickets for help on using tickets.