|
|
|
[
Permlink
| « Hide
]
kathryn aaker - 08/Aug/07 06:20 PM
A test case as described in the bug report
The SOLO data loading path eventually calls LzBrowser.toAbsoluteURL on its arg, which resolves relative to
LzBrowser.getLoadURL, which is effectively the directory in which the app's .swf file resides. The SOLO media loading path does not do this, and the load ends up being issued by the browser relative to the wrapper page. We can either make the SOLO load coerce to absolute URL using the same call 1) LzLoadQueue.loadMovieProxiedOrDirect = function (loadobj) { var reqstr; if ( !loadobj.proxied ) { reqstr = LzBrowser.toAbsoluteURL(loadobj.reqobj.url, false); or else, 2) remove the toAbsoluteURL call in the LzLoadQueue.loadXMLDirect method: // reqstr = _root.LzBrowser.toAbsoluteURL( url, loadobj.secure ); would become reqstr = url; But in this case we would also need to compute the absolute media load URL which is sent in the proxied case as properly relative to the HTML wrapper location, rather than using toAbsoluteURL LzLoadQueue.loadMovieProxiedOrDirect = function (loadobj) { var reqstr; if ( !loadobj.proxied ) { reqstr = LzBrowser.toAbsoluteURL(loadobj.reqobj.url, false); Debug.write("LzLoadQueue.loadMovieProxiedOrDirect reqstr=", reqstr); } else { delete loadobj.proxied; reqstr = _root.LzBrowser.getBaseURL( loadobj.secure, loadobj.secureport ).toString(); //fix up URL var url = loadobj.reqobj.url; if ( url != null) { // [2005 03 10] we don't try to munge URLs to HTTPS anymore, // the user specifies the URL protocol explicitly if they want https. >>>>> loadobj.reqobj.url = _root.LzBrowser.toAbsoluteURL(url, false); } |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||