aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-07-01 02:18:05 +0200
committerjaubourg <j@ubourg.net>2011-07-01 02:18:05 +0200
commite6f8951983b8ce1af8986651fd412f9e569504c6 (patch)
treef697990f6562a62237cf9bf0c5b3f1b309a9da53 /src/ajax.js
parente83fcdcb02d676d91d764a58f7e8d2eb1c95de69 (diff)
downloadjquery-e6f8951983b8ce1af8986651fd412f9e569504c6.tar.gz
jquery-e6f8951983b8ce1af8986651fd412f9e569504c6.zip
Fixes #9632. Adds res:// protocol to the list of local protocols.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 650f33184..087f2febf 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -7,7 +7,7 @@ var r20 = /%20/g,
rheaders = /^(.*?):[ \t]*([^\r\n]*)\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 = /^(?:about|app|app\-storage|.+\-extension|file|widget):$/,
+ rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,
rnoContent = /^(?:GET|HEAD)$/,
rprotocol = /^\/\//,
rquery = /\?/,