Closed Bug 326087 Opened 19 years ago Closed 19 years ago

Extra Period is set in Domain Name of Cookies

Categories

(Firefox :: Settings UI, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: georgkus, Unassigned)

References

()

Details

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
Closed: 19 years ago
Resolution: --- → INVALID
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.