github remix-run/remix node-fetch-server@1.0.1
node-fetch-server v1.0.1

latest releases: ui@0.14.0, test@1.2.0, static-middleware@1.0.3...
one hour ago

Patch Changes

  • createRequest() and createRequestListener() now validate the request host for every handler, including handlers that take no arguments. The effective host, whether it comes from the host option, a trusted Forwarded or X-Forwarded-Host header, HTTP/2 :authority, or Host, must be a hostname or bracketed IPv6 address with an optional port. Values with a path, query, fragment, userinfo, whitespace, or control characters, such as example.com/../admin or user@example.com, make createRequest() throw. createRequestListener() passes the error to onError and responds with 400 Bad Request unless onError returns a response. An invalid trusted X-Forwarded-Host is rejected instead of falling back to Host. (#12331)

Don't miss a new remix release

NewReleases is sending notifications on new releases.