If not, you are being blocked by the same origin policy You may want to check out the following Stack Overflow post for a few possible workarounds: Ways to circumvent the same-origin policy.
If not, you are being blocked by the same origin policy. You may want to check out the following Stack Overflow post for a few possible workarounds: Ways to circumvent the same-origin policy.
I had a feeling that might be it. The puzzling aspect of this is that in a Mac Widget I used the XMLHttpRequest to do the same thing and it works. I am assuming that in the widget's case I am not in a browser so not blocked.
– PurplePilot Dec 22 '09 at 6:49 Actually this has nothing to do with xss, which is caused by failure to validate user input. Using XHR to access another domain is a violation of the Same Origin Policy: code.google. Com/p/browsersec/wiki/Part2 – Rook Apr 13 '10 at 21:57 @The Rook: Thanks for the note.
Fixed my answer. – Daniel Vassallo Apr 13 '10 at 22:06.
Browser is preventing you from cross-site scripting. If the url is outside of your domain, then you need to do this on the server side or move it into your domain.
PROBLEM RESOLVED in my case the problem was that I do the ajax call (with $. Ajax, $. Get or $.
GetJSON methods from jQuery) with full path in the url param: url: "mydomain.com/site/cgi-bin/serverApp.php" but the correct is pass the value of url as: url: "site/cgi-bin/serverApp. Php" some browser don't conflict and no distiction between one text or another, but in Firefox 3.6 for Mac OS take this full path as "cross site scripting"... another thing, in the same browser there is a distiction between: http: //mydomain. Com/site/index.
Html and put http: //www.mydomain.com/site/index.html in fact it is the correct point view but most implementations make no distinction, so the solution was remove all the text that specify the full path to the script in the methods that do the ajax request AND.... remove any BASE tag in the index. Html file base href="http://mydomain.com/".
This might not be the best way to do it. But it somehow worked for me, so i'm going to run with it. In my php function that returns the data, one line before the return line, I add an echo statement, echoing the data I want to send.
Now sure why it worked, but it did.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.