зеркало из https://github.com/mozilla/pjs.git
fixing bogus comment.
This commit is contained in:
Родитель
7c4542d139
Коммит
be26fab99f
|
@ -558,9 +558,7 @@ nsCookieService::GetCookieStringFromHttp(nsIURI *aHostURI,
|
|||
--cookiePathLen;
|
||||
}
|
||||
|
||||
// the cookie linked list is in order of path length; longest to shortest.
|
||||
// if the nsIURI path is shorter than the cookie path, then we know the path
|
||||
// isn't on the cookie path.
|
||||
// if the nsIURI path is shorter than the cookie path, don't send it back
|
||||
if (!StringBeginsWith(pathFromURI, Substring(cookie->Path(), 0, cookiePathLen))) {
|
||||
continue;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче