#1316: Other Spec Review: local+ prefix for URI schemes

Visit on Github

Opened Nov 24, 2026

Specification

https://issues.chromium.org/issues/539667060

Explainer

https://issues.chromium.org/issues/539667060

Links

  • Previous early design review, if any: n/a
  • An introduction to the feature, aimed at unfamiliar audiences: https://textslashplain.com/2019/08/29/web-to-app-communication-app-protocols/
  • A description of the problems that end-users were facing before this proposal: Following links to native apps through custom schemes is a security nightmare.
  • Alternatives considered: None, apparently
  • Examples of how to use the proposal to solve the end-users' problems: ?
  • What do the end-users experience with this proposal: Links that don't work
  • User research you did to validate the problem and/or design, if any: None
  • Web Platform Tests: None

OK, that was all a bit passive-aggressive, but it's worth highlighting that this is code that is (apparently) shipping in Chromium.

The specification

Where and by whom is the work is being done?

Microsoft appear to be driving the work; I'll save the extra template work. None of the usual steps appear to have been taken.

Feedback so far

You should also know that...

This got a pretty positive reception when it was floated internally at Mozilla. I do not share that perspective. This requires a syntax reservation in the scheme part of URIs. That's a big ask. It's not something that can be done unilaterally without a lot of consultation. Browsers aren't the only consumers of URIs.

Moreover, the design requires that apps change on both the linking and receiving ends, which brings a lot of alternative designs into scope, including a design that does not touch URI syntax (see below for one such option).

The linking end needs to change to signal whether the link being actuated is done from a "trusted" context. On the linking end, browsers might always regard link following as "untrusted", but that doesn't necessarily always hold (consider a browser that has an internal use for activating another app in this way; likely inadvisable, but still possible).

The receiving end also needs to change to flag that the target is potentially sensitive. In the proposal, that involves changing the scheme, which is probably the least compatible option imaginable.

In an alternative, this is an annotation passed to the operating system when registering a scheme handler; call that a "trusted only" flag. Actuation of a link can take a matching flag; call that an "is trusted" flag. The effect is the same: trusted only links can't be activated if the link source is not trusted, but this doesn't involve a change to link syntax that affects far more than the web.

All told, this seems like a pretty bad option and something the TAG might want to be aware of.

<!-- Content below this is maintained by @w3c-tag-bot -->

Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1316

Discussions