A quick change to detect AIR urls
[jquery.git] / src / ajax.js
index 6414e8c..4714afd 100644 (file)
@@ -19,7 +19,7 @@ var r20 = /%20/g,
        rucHeadersFunc = function( _, $1, $2 ) {
                return $1 + $2.toUpperCase();
        },
-       rurl = /^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,
+       rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?|\/[^\/])/,
 
        // Keep a copy of the old load method
        _load = jQuery.fn.load,