bug 74112, cookie following deleted cookie not getting sent out, r=valeski, sr=alecf
This commit is contained in:
Родитель
9933fb2641
Коммит
625ad03781
|
@ -496,7 +496,7 @@ COOKIE_GetCookie(char * address) {
|
|||
/* check for expired cookies */
|
||||
if( cookie_s->expires && (cookie_s->expires < cur_time) ) {
|
||||
/* expire and remove the cookie */
|
||||
cookie_list->RemoveElementAt(i);
|
||||
cookie_list->RemoveElementAt(i--); /* decr i so next cookie isn't skipped */
|
||||
deleteCookie((void*)cookie_s, nsnull);
|
||||
cookie_changed = PR_TRUE;
|
||||
continue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче