bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Cookie expiration not obeyed for sites accessed by IPv6 address

UNCONFIRMED
Unassigned

Status

()

Core
Networking: Cookies
P3
major
UNCONFIRMED
12 years ago
10 months ago

People

(Reporter: Dustin C. Hatch, Unassigned)

Tracking

1.8 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [ipv6][necko-backlog])

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1) Gecko/20061025 Firefox/2.0
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1) Gecko/20061025 Firefox/2.0

When accessing a site by its IPv6 address, ie not by hostname, cookies from that site are deleted upon browser close, rather than obeying the expiry time of the cookie.

Reproducible: Always

Steps to Reproduce:
1. Visit a site that saves a cookie by its IPv6 address, ie http://[2001:db8::1]/
2. Open the preferences dialog and observe the cookie for domain 2001:db8::1 and its expiry time.
3. Close the dialogs and browser
4. Open the browser
5. Open the preferences dialog and observe the cookie for domain 2001:db8::1

Actual Results:  
No cookies exist from domain 2001:db8::1

Expected Results:  
Cookies with expiry times other than "end of session" should be saved until they expire.
Component: General → Networking: Cookies
Product: Firefox → Core
QA Contact: general → networking.cookies
Version: unspecified → 1.8 Branch

Comment 1

11 years ago
hmm, what are your cookie preferences, exactly?

please follow the instructions at this url to create a cookie log demonstrating
the problem, and attach it to this bug.

http://www.mozilla.org/projects/netlib/cookies/cookie-log.html
Whiteboard: [ipv6][necko-backlog]
You need to log in before you can comment on or make changes to this bug.