Skip to content
Permalink
Browse files

Fix #14036. Remove user/pass from ajaxLocation. Close gh-1340.

  • Loading branch information...
njhamann authored and dmethvin committed Aug 24, 2013
1 parent dce2edb commit 0d68b7877f761264bfe4950e4df156b854925a6b
Showing with 3 additions and 1 deletion.
  1. +2 −0 AUTHORS.txt
  2. +1 −1 src/ajax.js
@@ -176,3 +176,5 @@ Jeremy Dunck <jdunck@gmail.com>
Chris Price <price.c@gmail.com>
Guy Bedford <guybedford@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)

0 comments on commit 0d68b78

Please sign in to comment.
You can’t perform that action at this time.