jhahn

Results 12 comments of jhahn

@Evilscaught good catch! _(The perils of hacking away until well after midnight…)_ I’ve updated the code in the sample repo; this is what the corrected API page looks like: `pages/api/hello.ts`:...

After some additional digging, I’ve realized the `multipart/form-data` bit is probably a red herring. I’ve reproduced the issue more precisely with a second test case at https://github.com/jhahn/nextjs-upload-issue/blob/main/pages/large-post.tsx: ```TSX /** Add...

I’ve updated the repo to `12.2.4-canary.11`; this issue is still present.

I’ve updated the repo to `12.2.4-canary.12` and confirmed the issue is still present.

I’ve updated the repo to `12.2.5-canary.0` and confirmed the issue is still present.

🤖 I’ve updated the repo to `12.2.5-canary.1` and confirmed the issue is still present. _(I hope confirming with each canary release is somewhat helpful!)_

I’ve updated the repo to the final release of `12.2.5` and confirmed the issue is still present. I also did a bit of additional digging and confirmed the findings of...

@sloonz good catch; thanks! While our use-case (uploaded files) requires access to the raw request body, I can confirm your findings that the issue occurs with or without the `bodyParser`...

@Gawdfrey FWIW, the workaround proposed by @Pamboli (downgrading to `12.2.2`) _did not_ work for us, either.

I’ve updated the sample repo to `12.2.6-canary.1` and confirmed this issue is still present. I can also confirm @Gawdfrey’s "matcher filter" workaround solves the issue, assuming you don’t need middleware...