]> source.dussan.org Git - jquery.git/commitdiff
The script prefilter now forces cross-domain requests type to GET.
authorjaubourg <j@ubourg.net>
Sun, 16 Jan 2011 04:25:45 +0000 (05:25 +0100)
committerjaubourg <j@ubourg.net>
Sun, 16 Jan 2011 04:25:45 +0000 (05:25 +0100)
src/ajax/script.js

index ee1d489ebaa66d0bbd602dab0c96aaf2eb778527..b0e576f27742d6137d5676e27d45d6c0ed0bb4ec 100644 (file)
@@ -23,6 +23,7 @@ jQuery.ajaxSetup({
        }
 
        if ( s.crossDomain ) {
+               s.type = "GET";
                s.global = false;
        }