From 8e2c6e6a23582571010998e8d2c42e14c81e9cd1 Mon Sep 17 00:00:00 2001 From: "dwitte%stanford.edu" Date: Mon, 19 Nov 2007 09:08:07 +0000 Subject: [PATCH] still investigating mac Tp impact. --- netwerk/cookie/src/nsCookieService.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netwerk/cookie/src/nsCookieService.cpp b/netwerk/cookie/src/nsCookieService.cpp index c40891be22a..4ca5a395dbc 100644 --- a/netwerk/cookie/src/nsCookieService.cpp +++ b/netwerk/cookie/src/nsCookieService.cpp @@ -1788,9 +1788,11 @@ nsCookieService::IsForeign(nsIURI *aHostURI, // first ensure we're not dealing with IP addresses; if we are, require an // exact match. we can't avoid this, otherwise the algo below will allow two // IP's such as 128.12.96.5 and 213.12.96.5 to match. +/* if (IsIPAddress(firstHost)) { return !IsInDomain(firstHost, currentHost, PR_FALSE); } +*/ // next, allow a one-subdomain-level "fuzz" in the comparison. first, we need // to find how many subdomain levels each host has; we only do the looser