测试我的应用程序时,我发现了错误,当本地工作,因为我切换到https:有没有办法让HTTPS请求从本地主机要求测试
Warning: Domain www.example.com does not specify a meta-policy.
Applying default meta-policy 'master-only'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem.
Error: Request for resource at https://www.example.com/?json=user/get_logged_in_user by requestor from http://localhost:8888/Test-debug/Test.swf is denied due to lack of policy file permissions.
我试图改变我的localhost https
但得到了以下错误:
Secure Connection Failed
An error occurred during a connection to localhost:8888. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.
从我读过,我可以上传并添加策略文件和不断变化的安全为true什么,但我不希望允许从任何地方的电话。一旦瑞士法郎在我的服务器上一切正常。
有没有办法让本地测试工作?有什么在测试一样,我可以启用:
Security.allowDomain("localhost");
当我做测试或做我必须上传跨域策略,然后删除该策略?
由于我的本地站点在浏览器本地运行,它不应该能够连接到https连接吗?