Extra Period is set in Domain Name of Cookies

RESOLVED INVALID

Status

()

Firefox
Preferences
--
major
RESOLVED INVALID
12 years ago
12 years ago

People

(Reporter: Girgl, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

When setting cookies, FF 1.5.0.1 often/sometimes adds a period "." in front of the domain.
This usually causes problems especially when trying to unset the cookie.  I saw TONS of potentially related forum questions but no bug report...

Reproducible: Always

Steps to Reproduce:
1. Clear all yahoo cookies from Firefox
2. goto http://mail.yahoo.com and accept cookie named "B"
3. view the cookie in Options

Actual Results:  
The "Domain" of the cookie is set to ".yahoo.com"

Expected Results:  
cookie domain should be set to "yahoo.com"
The period in the begining of the domain name indicates that the cookie is a  subdomain-independent cookie. This allows you to login to mail.yahoo.com and have your cookie remain valid for yahoo.com.

-> Invalid
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID

Comment 2

12 years ago
it's menioned in RFC2109 : section 2 and 4.3.2
You need to log in before you can comment on or make changes to this bug.