Replies: 1 comment
-
Here's my current attempt at handing this in the adapter: wingleung/remix-aws#44 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been noticing scanner traffic hitting my Remix app, which includes malformed requests like those described here: wingleung/remix-aws#44
Some of these don't even make it my Remix app code, which has me wondering: are there established patterns for how adapter authors should handle malformed requests? This adapter is pretty thin; it creates a
URL
and aRequest
, then passes theRequest
tocreateRequestHandler
(part of@remix-run/node
). Of course, if creating either of these fails, we never get to Remix.Is there a "best practice" here for allowing the Remix app, rather than the adapter, to handle malformed requests, or is each adapter author kind of on their own there?
Beta Was this translation helpful? Give feedback.
All reactions