summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/network/ProtectionSpace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/network/ProtectionSpace.cpp')
-rw-r--r--WebCore/platform/network/ProtectionSpace.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/network/ProtectionSpace.cpp b/WebCore/platform/network/ProtectionSpace.cpp
index d04bcbe..26c258f 100644
--- a/WebCore/platform/network/ProtectionSpace.cpp
+++ b/WebCore/platform/network/ProtectionSpace.cpp
@@ -111,7 +111,8 @@ bool operator==(const ProtectionSpace& a, const ProtectionSpace& b)
return false;
if (a.serverType() != b.serverType())
return false;
- if (a.realm() != b.realm())
+ // Ignore realm for proxies
+ if (!a.isProxy() && a.realm() != b.realm())
return false;
if (a.authenticationScheme() != b.authenticationScheme())
return false;