Closed
Bug 259126
Opened 20 years ago
Closed 20 years ago
sites/exceptions list allows invalid hostnames
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: richard.keppler, Assigned: mconnor)
Details
Attachments
(1 file)
2.73 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
In the cookie exceptions dialog, if you enter nothing in to the site you want to
allow or block cookies from, you can allow the blank item
Reproducible: Always
Steps to Reproduce:
1. Cookies -> exceptions - press spacebar to enable block/allow buttons.
2. Press Allow. Now an empty line (one space character) is allowed.
3. Remove the allowed item (select it/ press remove)
Actual Results:
Text box is now null - no characters in it - but block/allow buttons are active.
Expected Results:
Block/allow buttons should be inactive (unable to use them) unless characters
are present in text box.
Assignee | ||
Comment 1•20 years ago
|
||
-> me
steal my own code from Seamonkey to disable the buttons until there's not a
blank space.
Assignee: firefox → mconnor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•20 years ago
|
||
I guess e.g. "a" shouldn't be allowed either.
Summary: Cookies -> Exceptions, can allow blank item → sites/exceptions list allows invalid urls like " "
Assignee | ||
Comment 3•20 years ago
|
||
"a" is legitimate, but there's no domains that end in "a"
"uk" would block all UK domains, for example.
Reporter | ||
Comment 4•20 years ago
|
||
I wouldn't necessarily try to check for that much validity. Don't discount
internal corporate use where domains can have any name.
Assignee | ||
Comment 5•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Summary: sites/exceptions list allows invalid urls like " " → sites/exceptions list allows invalid hostnames
Assignee | ||
Comment 6•20 years ago
|
||
I actually made it a tad more robust, short of getting into some serious regexp
hackery this should be pretty good.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•19 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs,
filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in
before you can comment on or make changes to this bug.
Description
•