This is a backport PR for branch 38-x-y
#50157: fix: validate protocol scheme names in setAsDefaultProtocolClient
Merged
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
codebytereOriginal PR Status
Merged
Original PR Merged At
Mar 9, 2026, 1:16:34 PM
Original PR Link
View on GitHubSemver 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