Bug 462422

Summary: Can't block cookies from specified web sites.
Product: Red Hat Enterprise Linux 4 Reporter: lihuang <lihuang>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED NOTABUG QA Contact: desktop-bugs <desktop-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: ndai
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-16 12:30:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lihuang 2008-09-16 04:59:54 UTC
Description of problem:
I chosen 'Accept cookies from web sites' and set www.google.com as exception in the Preferences. but the cookies saved after visiting www.google.com

Version-Release number of selected component (if applicable):
firefox-3.0.2-2.el4.i386

How reproducible:
Everytime

Steps to Reproduce:
1.launch firefox, click 'Tools > Clear Private Data ' to clear previous saved
cookies.
2.Go to 'Edit > Preferences', then select Privacy tab
3.tick the check-box for "Accept cookies from web sites"
4.Click 'Exceptions' button.
5.input " www.google.com " ,then click 'Block' button.
6.Navigate to http://www.google.com
7.Click 'Show Cookies' button in the Preferences window to verify if cookies be stored or not.
  
Actual results:
the cookies from the blocked website(www.google.com) shown in the list.

Expected results:
this cookies should be blocked.

Additional info:

Comment 1 Matěj Cepl 2008-09-16 12:30:02 UTC
Put to the box just google.com without www. or without http://

Comment 2 lihuang 2008-09-17 02:52:42 UTC
lihuang -> mcepl
Yes. cookies are blocked without www. . Thank you
(this mean "google.com" is the *exact address of the site* , right ? )


I had a try on firefox-3.0.1-1.fc9.i386
"google.com"  "www.google.com" and "http://www.google.com"  both work.

Comment 3 Matěj Cepl 2008-09-17 07:25:29 UTC
No, I think it means, that the URL for which the cookie is requested matches the string you put there (i.e., "google.com" in our case).