Replies: 1 comment
-
So I seem to have found the code that is causing me this problem, I have found a solution but it fails testing due to the array keys being modified, I do not know to what point that'd matter but the fact is that it fails the tests. The problem line is this and would be fixed with The failed test is Edit: Regards, |
Beta Was this translation helpful? Give feedback.
-
Hey guys!
I've faced some weird behavior that I do not know if is intended or not, I'll leave a repo with the reproduction of the behavior below: https://github.com/WildEgo/larave-post-parse-reproduction
More information:
I'm sending a request to Laravel with the following content from my javascript frontend
Which is correctly handled by the frontend and sent as a multipart/form-data request as the one depicted below (do not that I deleted a lot of the image content in order to keep this easily readable
But when dumping said request the result I get is the following
In the media there was supposed to be [1, 2, File] instead what I'm getting is [File, 2].
Is this intended behavior?
Context:
OS: Arch Linux [5.18.9-arch1-1]
PHP Version: PHP 8.1.7
Regards,
Luis Bizarro.
Beta Was this translation helpful? Give feedback.
All reactions