Closed Bug 1759114 Opened 4 years ago Closed 4 years ago

expired.badssl.com will result in a https-only error

Categories

(Core :: DOM: Security, defect)

All
Unspecified
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: petru, Unassigned)

Details

Attachments

(1 file)

Attached image image.png

Issue reproduceable in Fenix, Focus and on Desktop.

STRs:

  • enable https-only mode
  • type in the url bar: expired.badssl.com (seems like any subdomains would work in reproducing the issue)

Expected result:

  • Engine's RequestInterceptor's onErrorRequest fires with ERROR_SECURITY_BAD_CERT
  • the error page for "secure connection failed" is shown

Actual result:

  • Engine's RequestInterceptor's onErrorRequest fires with
  • the error page for https-only mode is shown

 
** If the full url - https://expired.badssl.com is accessed the expected scenario happens.

Component: Networking → DOM: Security

You can argue that some TLS errors are more okay-ish than others, but the HTTP-only implementation doesn't want to be entangled with those details and value judgements. If the user has requested "http" we are not going to upgrade them to a broken site. If you want to deal with the broken site then explicitly request "https"

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: