Search code examples
actionscript-3flashflash-buildercrossdomain.xmlcross-domain-policy

Test Policy File service without Flash?


I have a Policy File service written in Node.js (Windows 7 environment). I simply want to test that the service returns the policy when a request is made over port 843, but without using Flash (i.e. Telnet, Browser, Powershell, Python, anything really.)

I've looked extensively but can't find any solution that does this. I have attempted with Telnet, but on connection, any keypress at all causes the server to return a bad response (presumably because the request didn't contain the requisite <policy-file-request/>\0 data.)

Is this possible?


Solution

  • You need to rebuild your service to wait for more data if there is incomplete data. Then you will be able to use Telnet to debug the service.