From: jaubourg Date: Thu, 3 Feb 2011 17:23:02 +0000 (+0100) Subject: Adds widget as the list of local protocols. X-Git-Tag: 1.5.1rc1~58 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7eba4b76dfb4dde3b514281d614d7ac4fedc0289;p=jquery.git Adds widget as the list of local protocols. --- diff --git a/src/ajax.js b/src/ajax.js index ce27d2de2..b361a2a73 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -7,7 +7,7 @@ var r20 = /%20/g, rheaders = /^(.*?):\s*(.*?)\r?$/mg, // IE leaves an \r character at EOL rinput = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /(?:^file|\-extension):$/, + rlocalProtocol = /(?:^file|^widget|\-extension):$/, rnoContent = /^(?:GET|HEAD)$/, rprotocol = /^\/\//, rquery = /\?/,