- Home /
Wildcards in crossdomain.xml
This is up in mydomain.tv/crossdomain.xml
I am using UnityEngine.WWW to post some data to the site.
I used sniffer to check if it is correctly requested, and it is all right there. But, unfortunately, it seems like * has no effect! I am trying to access it from test.mydomain.tv, and it is rejected.
allow from test.mydomain.tv access from test.mydomain.tv = works
allow from mydomain.tv access from mydomain.tv = works
allow from *.mydomain.tv access from test.mydomain.tv = rejected (this is so wrong...)
allow from *.mydomain.tv access from mydomain.tv = rejected (dunno if it should be?)
Am I doing something wrong here or it's just "Unity cannot into wildcards" issue?
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*.mydomain.tv"/>
</cross-domain-policy>
Answer by softrare · Sep 17, 2012 at 12:51 PM
Have you tried
<allow-access-from domain="mydomain.tv"/>
and then accessing from test.mydomain.tv and mydomain.tv ?
Yes, I did that.
test.mydomain.tv = rejected. mydomain.tv = works.