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

#50130: fix: validate response header names and values before AddHeader

Merged
Created: Mar 8, 2026, 5:41:36 PM
Merged: Mar 9, 2026, 11:16:52 AM
1 comments
Target: 38-x-y

Backport of #50123

See that PR for details.

Notes: Fixed an issue where invalid characters in custom protocol or webRequest response header values were not rejected.

Backport Information

Original PR Author
MarshallOfSound
Original PR Status
Merged
Original PR Merged At
Mar 8, 2026, 5:40:48 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