← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1367446] [NEW] WebView.securityStatus.certificate isn't cleared when navigating away from a https URL

 

Public bug reported:

I found this when writing the unit test for this API. It's fixed by
http://bazaar.launchpad.net/~oxide-
developers/oxide/oxide.trunk/revision/725, in particular:

--- shared/browser/oxide_security_status.cc	2014-08-27 07:38:17 +0000
+++ shared/browser/oxide_security_status.cc	2014-09-09 20:48:07 +0000
@@ -147,6 +147,7 @@
 SecurityStatus::~SecurityStatus() {}
 
 void SecurityStatus::Update(const content::SSLStatus& ssl_status) {
+  cert_ = NULL;
   content::CertStore::GetInstance()->RetrieveCert(ssl_status.cert_id,
                                                   &cert_);

** Affects: oxide
     Importance: Medium
     Assignee: Chris Coulson (chrisccoulson)
         Status: Fix Released

** Affects: oxide/1.2
     Importance: Medium
     Assignee: Chris Coulson (chrisccoulson)
         Status: Triaged

** Changed in: oxide
    Milestone: None => branch-1.3

** Changed in: oxide
   Importance: Undecided => Medium

** Changed in: oxide
       Status: New => Fix Released

** Also affects: oxide/1.2
   Importance: Undecided
       Status: New

** Changed in: oxide/1.2
   Importance: Undecided => Medium

** Changed in: oxide/1.2
       Status: New => Triaged

** Changed in: oxide/1.2
    Milestone: None => 1.2.1

** Changed in: oxide/1.2
     Assignee: (unassigned) => Chris Coulson (chrisccoulson)

** Changed in: oxide
     Assignee: (unassigned) => Chris Coulson (chrisccoulson)

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1367446

Title:
  WebView.securityStatus.certificate isn't cleared when navigating away
  from a https URL

Status in Oxide Webview:
  Fix Released
Status in Oxide 1.2 series:
  Triaged

Bug description:
  I found this when writing the unit test for this API. It's fixed by
  http://bazaar.launchpad.net/~oxide-
  developers/oxide/oxide.trunk/revision/725, in particular:

  --- shared/browser/oxide_security_status.cc	2014-08-27 07:38:17 +0000
  +++ shared/browser/oxide_security_status.cc	2014-09-09 20:48:07 +0000
  @@ -147,6 +147,7 @@
   SecurityStatus::~SecurityStatus() {}
   
   void SecurityStatus::Update(const content::SSLStatus& ssl_status) {
  +  cert_ = NULL;
     content::CertStore::GetInstance()->RetrieveCert(ssl_status.cert_id,
                                                     &cert_);

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1367446/+subscriptions


Follow ups

References