This is a backport PR for branch 39-x-y
trop[bot]

#50156: fix: validate protocol scheme names in setAsDefaultProtocolClient

Merged
Created: Mar 9, 2026, 1:16:59 PM
Merged: Mar 10, 2026, 6:27:59 AM
1 comments
Target: 39-x-y

Backport of #50141

See that PR for details.

Notes: Added validation to protocol client methods to reject protocol names that do not conform to the RFC 3986 URI scheme grammar.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Mar 9, 2026, 1:16:34 PM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron