proxying-agent
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -175,5 +175,5 @@ 'use strict'; | ||
var creds = this.options.proxy.auth.split(':'); | ||
ntlmOptions.ntlm.username = creds[0]; | ||
ntlmOptions.ntlm.password = creds[1]; | ||
var creds = this.options.proxy.auth.match(/([^:]*):?(.*)/); | ||
ntlmOptions.ntlm.username = creds[1]; | ||
ntlmOptions.ntlm.password = creds[2]; | ||
@@ -180,0 +180,0 @@ // set the NTLM type 1 message header |
{ | ||
"name": "proxying-agent", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Node HTTP/HTTPS Forward Proxy Agent", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
33321