GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — fix(h2): keep a request header named __proto__ by luantaraschi · Pull Request #5669 · nodejs/undici Conversation
Contributor
This relates to...The h2 half of what I flagged in a comment on #5667. Rationale
const current = headers[key] ... headers[key] = current ? `${current}, ${val}` : val For Reproduced over a real HTTP/2 connection, before the change:
There is no ChangesThe probe uses Test added to
FeaturesN/A Bug FixesAn HTTP/2 request no longer drops a header named Breaking Changes and DeprecationsNone. Status
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsbuildRequestHeaders probed the accumulator with headers[key], which returns Object.prototype for __proto__ instead of undefined. The header took the already-present branch, its value became '[object Object], pwned', and the assignment then hit the Object.prototype setter, which refuses a string, so nothing reached the wire. The probe uses Object.hasOwn and the writes go through a setHeader helper using Object.defineProperty, the guard parseHeaders already uses.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
3 of 7 tasks
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #5669 +/- ## ========================================== + Coverage 93.43% 93.45% +0.02% ========================================== Files 110 110 Lines 38733 38795 +62 ========================================== + Hits 36190 36256 +66 + Misses 2543 2539 -4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
The two failing Node 24 jobs stop at I do not have permission to rerun workflows in this repository. Could a maintainer please rerun the failed jobs to confirm whether this is the same intermittent failure? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
This one is in #5688 too. Closing here to keep the four of them from sitting in your queue. Say the word if you would rather review the h2 site separately and I will reopen it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.