Closed Bug 1876513 Opened 5 months ago Closed 8 days ago

Address bar should not prefix schemeless URI that will be handled by schemeless HTTPS-First

Categories

(Firefox :: Address Bar, task, P2)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: maltejur, Assigned: mak)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sng])

Attachments

(2 files)

When entering a URL without a scheme in the address bar, the first result suggests that it will be fixed up with a http:// scheme (see screenshot). With the introduction of schemeless HTTPS-First in Bug 1812192, that not the case anymore, as we will try a https scheme first, and then fall back to http if https isn't available. I am wondering what the best fix for this is. I think we should either:

  1. Change the scheme displayed to https://. This would make sense, as most inputs will indeed end up as https:// URIs. But crucially, this is not the case all the time. So I am not sure if it is a risk to display the user that the site will load via a secure connection, when it is still possible that we fall back to http.
  2. Just do not display the http:// scheme anymore when there is a schemeless input. This would kind of align with Bug 1850491. If we would go this route, we will also have to think about if we want to display the scheme for inputs that do have a https:// scheme. For consistency with the address bar and schemeless inputs, I think we should also drop the scheme in that case.
Whiteboard: [sng]
Blocks: 1850491
Severity: -- → N/A
Priority: -- → P2
See Also: 1850491
Assignee: nobody → mak
Status: NEW → ASSIGNED
Summary: Address bar should prefix URI that will be fixed up with schemeless HTTPS-First with correct scheme → Address bar should not prefix schemeless URI that will be handled by schemeless HTTPS-First
Attachment #9407022 - Attachment description: WIP: Bug 1876513 - Address bar should not prefix URIs that will be handled by schemeless HTTPS-First. r=jteow → Bug 1876513 - Address bar should not prefix URIs that will be handled by schemeless HTTPS-First. r=daleharvey
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/8dc587003ac5
Address bar should not prefix URIs that will be handled by schemeless HTTPS-First. r=daleharvey
Status: ASSIGNED → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
See Also: → 1904837
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: