Skip to content

Link input without URI scheme should be completed with HTTPS by default #46244

Closed

Description

@porg

Reproduction

  1. Select an element which supports a hyperlink, e.g. text in a paragraph.
  2. Press the link button or shortcut (⌘ K)
  3. Into the text field "Search or type url" type or paste an URL without the URI scheme at the beginning, e.g. "example.com/page"
  4. Press ENTER to confirm and close the dialog.

Actual

  • Upon inspection you see that the link was created with http:// prepended.

Expected

  • In this day and age the auto completion should default to https://

HTTPS as the default scheme? Arguments pro (✅) or against (❌) or uncertain (ℹ️)

  • ✅ The majority of websites moved to HTTPS.
  • ❌ Most HTTPS websites have set up HTTP to HTTPS redirections, so most users will get to their destinations anyways.
  • ✅ But that redirection means longer wait times to reach the destination, instead of a correct HTTPS on first try.
  • ❌❌ Falsely using HTTPS for a page that is HTTP only fails totally.
    • The user has to realize this and manually correct in the address bar. Some users will fail here.
  • ℹ️ I do not know if it has negative/punishing SEO implications on your website if your outgoing links use predominantly HTTP (for destinations which actually are available as HTTPS).

My preliminary conclusion (no CMS or SEO or W3C expert at all)

  • Overally it seems that defaulting to HTTP is safer, but nevertheless it kinda feels wrong in this day and age.
  • You experts decide. It's just something that came to my attention.

Activity

  1. added
    [Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)
    Needs DecisionNeeds a decision to be actionable or relevant
    on Dec 1, 2022
  2. jordesign commented on Jul 28, 2023

    @jordesign
    Contributor

    I see this has been resolved for adding links to the buttons block specifically (in #46385).

    @eoinsav @getdave is there any way the work from that could be brought in to impact here more broadly?

  3. getdave commented on Jul 28, 2023

    @getdave
    Contributor

    Yes it could be done.

  4. porg commented on Jul 28, 2023

    @porg
    Author
  5. WDWNT-Frank commented on May 14, 2024

    @WDWNT-Frank

    Just wondering but is anything being done on this? It's still n issue and not resolved in any way.

  6. added
    [Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)
    and removed
    [Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)
    on Jan 28, 2026
  7. Mamaduka commented on Jan 28, 2026

    @Mamaduka
    Member

    Created PR to swap prepend functions for blocks - #75005.

  8. getdave commented on Jan 29, 2026

    @getdave
    Contributor

    We are looking at this for Navigation in #73486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions