WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
246045
When searching a domain with only https available. Browser will try loading http first, fail and won't load https (Even if upgrade connections to HTTPS is set to true).
https://bugs.webkit.org/show_bug.cgi?id=246045
Summary
When searching a domain with only https available. Browser will try loading h...
erwan.joly
Reported
2022-10-04 15:55:21 PDT
Brave github issue suggested it's a webkit issue
https://github.com/brave/brave-ios/issues/6098
Description: When searching a domain with only https available. Browser will try loading http first, fail and won't load https (Even if upgrade connections to HTTPS is set to true). Only way to make it load https is to specify it in the URL. https schema should be the default not http Steps to Reproduce search for an URL with only HTTPS available example marketracoon.com enjoy the error this site can't be reached search for
https://marketracoon.com
notice it is up Actual result: this site can't be reached Expected result: The browser should not default to http but https (even more in this case as Upgrade Connections to HTTPS is set to true) Reproduces how often: Everytime I look at a page that does not have HTTP support but has HTTPS support (aws api gateway with regional domains websites). Brave Version: 1.43 (22.9.9.14) Device details: Iphone 12 Pro max iOS 16.0
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-10-04 18:55:46 PDT
WebKit doesn't have the logic to try https when connection on port 80 is refused, and probably shouldn't, because that's trivial to implement in a browser, and not necessarily appropriate for every other embedder. We do have upgradeKnownHostsToHTTPS on WKWebViewConfiguration, but marketracoon.com is not currently on the known list. And that's only about known hosts, not about retrying.
Radar WebKit Bug Importer
Comment 2
2022-10-11 15:56:39 PDT
<
rdar://problem/101054820
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug