IE7 & IE8 error with mootools+json request Access is denied
In mootools I use the Request.JSON(options).get();
to send a request to the server.
Options is:
{'onSuccess':function(){alert(1)},'url':'https://192.168.12.219/reports/get/favorite/details/?report_id=7'}
the url I am in is: https://192.168.12.219/reports/container/
So I do not see any issues with cross domain (this code works perfectly in FF/Chrome any other normal browser).The error I get is:
Access i开发者_如何学Gos denied
I monitor the Apache error and access log - I see nothing there, so it seems to me this has stopped at the client and not some funky error code the Apache returned.
Any ideas?
In normal browsers, they find out you are still in the same domain even if I use complete URL, so I can use
'url':'https://192.168.12.219/reports/ge.......
But, in IE7 it assumes you are doing cross domain stuff if you enter full url, so, if I put relative path (even from root, it works just fine )
/reports/ge.......
Some one was lazy at MS
精彩评论