When I run the data tests, a SOLO load gets a security violation

loadXMLDoc url= http:namespace.xml method= GET
*** Security Sandbox Violation ***
Connection to http:testdata2.xml halted - not permitted from
http://127.0.0.1:8080/trunk4/test/lfc/data/simple.lzx?lzr=swf9&lzt=swf&debug=true
httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false
cancelable=false eventPhase=2 status=0]
securityErrorHandler: [SecurityErrorEvent type="securityError"
bubbles=false cancelable=false eventPhase=2 text="Error #2048:
Security sandbox violation:
http://127.0.0.1:8080/trunk4/test/lfc/data/simple.lzx?lzr=swf9&lzt=swf&debug=true
cannot load data from http:testdata2.xml."]



This is because it appears that the relative URL, "http:namespace.xml"
does not match the domain in which the app is
running, which is http://127.0.01.:8080/

So, I am going to try to fix this by making the swf9 kernel loader
recognize a relative URL, and turn it into an absolute URL.

This did not seem to be an issue in swf8, probably because the code in
LzLoadQueue converts the URLs in SOLO posts  to absolute URLs already.



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to