mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix #14036. Remove user/pass from ajaxLocation. Close gh-1340.
(cherry picked from commit eb1a2afc9fb1d990d10358aab0e17bc0ce1d1db3)
This commit is contained in:
parent
97d53838e0
commit
c58a6435ef
@ -172,3 +172,4 @@ Terry Jones <terry@jon.es>
|
||||
Jeremy Dunck <jdunck@gmail.com>
|
||||
Chris Price <price.c@gmail.com>
|
||||
Amey Sakhadeo <me@ameyms.com>
|
||||
Noah Hamann <njhamann@gmail.com>
|
||||
|
@ -21,7 +21,7 @@ var
|
||||
rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
|
||||
rnoContent = /^(?:GET|HEAD)$/,
|
||||
rprotocol = /^\/\//,
|
||||
rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,
|
||||
rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
|
||||
|
||||
/* Prefilters
|
||||
* 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
|
||||
|
Loading…
Reference in New Issue
Block a user