Fix missing headers in Windows 8 Proxy

This commit is contained in:
Maxime LUCE
2013-09-18 03:33:58 +02:00
parent 714bff1ec2
commit e80d0788a6
+1 -1
View File
@@ -42,7 +42,7 @@ function getBasicAuthHeader(urlString) {
var credentials = null;
var protocol = url.protocol + "//";
var origin = protocol + url.host;
var origin = protocol + url.host.replace(":" + url.port, ""); // Windows 8 (IE10) append :80 or :443 to url.host
// check whether there are the username:password credentials in the url
if (url.href.indexOf(origin) !== 0) { // credentials found