Closed Bug 331778 Opened 18 years ago Closed 18 years ago

cookies for invalid domains containing underscore are accepted

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 267295

People

(Reporter: minusf, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.8.0.1) Gecko/20060213 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.8.0.1) Gecko/20060213 Firefox/1.5.0.1

underscore is illegal for domain names.
sorry, i don't have rfc numbers but i am pretty sure it is, anyone can look it up.

IE6 does the right thing, discards the cookie, but maybe in a wrong way:
silently, so noone knows it happened.

Reproducible: Always

Steps to Reproduce:
1. create a local subdomain containing an underscore
2. create cookie
3. retrieve cookie

Actual Results:  
a cookie is created.

Expected Results:  
cookie should not exist
OS: OpenBSD → Windows XP
Version: unspecified → 1.5.0.x Branch

*** This bug has been marked as a duplicate of 267295 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of 267295 ***

i am terribly sorry, my searches did not find that previous one.
You need to log in before you can comment on or make changes to this bug.