Skip to content
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

fix(node): Safely create requests #10285

Merged
merged 2 commits into from
Mar 1, 2024
Merged

fix(node): Safely create requests #10285

merged 2 commits into from
Mar 1, 2024

Conversation

Princesseuh
Copy link
Member

Changes

new Request can throw an error if the request is super malformed, this could crash the server in some situations.

Testing

I couldn't figure out how to test this in our fixtures, Node refuses to create an invalid request that triggers the error 🤔

Docs

N/A

Copy link

changeset-bot bot commented Mar 1, 2024

🦋 Changeset detected

Latest commit: 2a6be3d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Mar 1, 2024
@ematipico ematipico merged commit d5277df into main Mar 1, 2024
13 checks passed
@ematipico ematipico deleted the fix/node-urls branch March 1, 2024 10:26
@astrobot-houston astrobot-houston mentioned this pull request Mar 1, 2024
peng added a commit to peng/astro that referenced this pull request Mar 4, 2024
* main:
  [ci] format
  fix(withastro#8625): smooth scrolling in SPA mode on iOS (withastro#10235)
  [ci] release (withastro#10292)
  [ci] format
  finalize WIP API (withastro#10280)
  [ci] format
  fix(markdoc & mdx): Proxy crimes (withastro#10278)
  [ci] release (withastro#10286)
  fix(audits): Don't warn about loading on data URIs (withastro#10275)
  fix(node): Safely create requests (withastro#10285)
  [ci] release (withastro#10265)
  [ci] format
  fix(assets): Solidify Node endpoint (withastro#10284)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants