Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317754

Summary: Mozilla - Redirects to resources with bad certificates cause URL redirects
Product: [Eclipse Project] Platform Reporter: Ryan Levering <rrlevering>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ryan Levering CLA 2010-06-23 18:48:03 EDT
Build Identifier: SWT3.6m7

If I have time to create a reproducer, I'll try, but it relies on an image on a webpage redirecting to location with a bad certificate and I get my bad certificates on my test proxy so I don't have an example in the wild.

The current handling in Mozilla.java for bad certificates uses setUrl with the last navigated url when you ignore a bad certificate.  I believe this last navigated URL is not being properly ignored when a resource (image/js/etc) is being redirected.

The end result is that if you accept the bad certificate, you end up staring at the image/resource.

Reproducible: Always

Steps to Reproduce:
1. Navigate to a page with an image that redirects (302) to a SSL url with a bad certificate
Comment 1 Alexander Kurtakov CLA 2017-07-04 13:43:54 EDT
Mozilla support is removed in 4.8.