views:

106

answers:

0

I have just encountered an extremely odd behaviour from the Flash Player (10,0,32,18). I have a swf that tries to load data from a URL that contains a query. This works fine except for when the URL points at the root of the site. Flash Player then interprets the URL as a different domain and tries to load a crossdomain.xml file from the address + /crossdomain.xml.

The flash is loaded from http://mydomain/swf/flash.swf

If I try to load data from the web root (/), it loads:
http://mydomain/

If I try to load data from a sub page with a query (/foo?bar=baz), it loads:
http://mydomain/foo?bar=baz

If I try to load data from the web root with a wuery (/bar=baz), it tries to load:
http://mydomain/?bar=baz/crossdomain.xml (!!!)

Has anyone encountered this? Is there a solution?