-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib,esm: handle bypass network-import via data: #53764
lib,esm: handle bypass network-import via data: #53764
Conversation
Review requested:
|
The validation needs to accept H1 links as well. |
5c74da6
to
61b1f42
Compare
61b1f42
to
9dc1933
Compare
PR-URL: nodejs-private/node-private#522 Refs: https://hackerone.com/bugs?subject=nodejs&report_id=2092749 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> CVE-ID: CVE-2024-22020
9dc1933
to
15c2d8d
Compare
@@ -1078,7 +1088,6 @@ function defaultResolve(specifier, context = {}) { | |||
return { __proto__: null, url: parsed.href }; | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: unrelated line removal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Commit Queue failed- Loading data for nodejs/node/pull/53764 ✔ Done loading data for nodejs/node/pull/53764 ----------------------------------- PR info ------------------------------------ Title lib,esm: handle bypass network-import via data: (#53764) Author Rafael Gonzaga <[email protected]> (@RafaelGSS) Branch RafaelGSS:backport-network-import-via-data -> nodejs:main Labels esm, author ready, needs-ci Commits 1 - lib,esm: handle bypass network-import via data: Committers 1 - RafaelGSS <[email protected]> PR-URL: https://github.com/nodejs/node/pull/53764 Fixes: https://hackerone.com/bugs?subject=nodejs&report_id=2092749 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Matteo Collina <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/53764 Fixes: https://hackerone.com/bugs?subject=nodejs&report_id=2092749 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Matteo Collina <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 08 Jul 2024 18:48:45 GMT ✔ Approvals: 4 ✔ - Yagiz Nizipli (@anonrig): https://github.com/nodejs/node/pull/53764#pullrequestreview-2164507162 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/53764#pullrequestreview-2165404578 ✔ - Marco Ippolito (@marco-ippolito) (TSC): https://github.com/nodejs/node/pull/53764#pullrequestreview-2165583758 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/53764#pullrequestreview-2165697861 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-07-08T23:19:20Z: https://ci.nodejs.org/job/node-test-pull-request/60188/ - Querying data for job/node-test-pull-request/60188/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 53764 From https://github.com/nodejs/node * branch refs/pull/53764/merge -> FETCH_HEAD ✔ Fetched commits as fc233627ed44..15c2d8d75ed8 -------------------------------------------------------------------------------- [main ad0ac2de27] lib,esm: handle bypass network-import via data: Author: RafaelGSS <[email protected]> Date: Wed Jan 10 14:50:18 2024 -0300 3 files changed, 164 insertions(+), 64 deletions(-) create mode 100644 test/fixtures/es-modules/import-data-url.mjs ✔ Patches applied -------------------------------------------------------------------------------- ⚠ Found Reviewed-By: Antoine du Hamel <[email protected]>, skipping.. ⚠ Found Reviewed-By: Marco Ippolito <[email protected]>, skipping.. --------------------------------- New Message ---------------------------------- lib,esm: handle bypass network-import via data:https://github.com/nodejs/node/actions/runs/9907895685 |
Landed in 24648b5 |
PR-URL: https://github.com/nodejs-private/node-private/pull/522 Refs: https://hackerone.com/bugs?subject=nodejs&report_id=2092749 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> CVE-ID: CVE-2024-22020 PR-URL: nodejs#53764 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
This commit didn't land cleanly on
main
fromv22.x
110902f. So, I'm opening a manual PR to make sure we won't break anything.cc: @aduh95 @GeoffreyBooth