still investigating mac Tp impact.

This commit is contained in:
dwitte%stanford.edu 2007-11-19 09:08:07 +00:00
Родитель 20d8422add
Коммит 8e2c6e6a23
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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