Closed Bug 92922 Opened 25 years ago Closed 25 years ago

can't use 'continue' in error dialog for sites with self-signed certificates

Categories

(Core Graveyard :: Security: UI, defect)

Other Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

References

()

Details

(Whiteboard: critical for 0.9.3)

Attachments

(3 files)

Build is from Jul 30, 2001. If I go to the URL above and click on the 'Log into the Red Hat Network Beta site" link I get a warning dialog about the certificate being self-signed. If I click on 'Continue' the connection doesn't continue. Instead, the page isn't loaded.
Whiteboard: critical for 0.9.3
See bug 91466, which was a recent UI change in this area.
Looks like a dupe of bug 92833
*** This bug has been marked as a duplicate of 92833 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
This isn't a dup.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Attached patch patch — — Splinter Review
This patch does a few things: o It adds doSetOKCancel() in the onload() handler so the buttons are attached to the right actions. o It makes sure that the alwaysAccept var is set properly. The way that it was working before it ended up always passing 0 back to the caller making all certificates permanent. ( The return from getAttribute is a string and will always return true when used in an ? : operator. ) Reassigning to me to get this reviewed.
Assignee: ssaux → blizzard
Status: REOPENED → NEW
Note that you can replace var checkval = checkbox.getAttribute("checked"); with var checkval = checkbox.checked; which will return a boolean (not a string), which would save you the string comparison, etc. sr=blake
Or even simpler: + dialogParams.SetInt(2, !checkbox.checked); Up to you.
Attached patch patch, v3 — — Splinter Review
I thought about that the last time that I changed the patch. I thought that it would be too confusing until I actually did it. It looks better IMHO.
Checked into 0.9.3. Over to javi to check it into the trunk.
fixed on the trunk
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Verified on 8/1 WinNT trunk.
Status: RESOLVED → VERIFIED
*** Bug 92833 has been marked as a duplicate of this bug. ***
Thanks for fixing this blizzard.
Product: PSM → Core
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: