-
-
Notifications
You must be signed in to change notification settings - Fork 728
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
Empty values of a POST array disappear after being submitted #7
Comments
Basically @Syskaw is expecting |
Oh, and FWIW, this is not a regression from |
Ah, so users are expecting the empty strings to stay in place for arrays? I'll take a look and see if that change would break anything, but I don't imagine it will. |
it seems that way. I saw that pop up on twitter last night, but i've seen other people asking the same time every so often. |
mainly something to consider ;) up to you guys how you want to approach it. |
Looks like we already had this behavior for arrays where an index is specified, so I'll add some official tests and make sure it works for normal arrays too. |
cool. if you guys change it, i'll make sure to rush out an update for the stuff pinned to 1.0.2 |
Closed via 5b63418 |
Following my conversation with @blipsofadoug on Twitter
He says that
It is an issue when you are using "extended" urlencoded body parsing
Empty values of a POST array disappear after being submitted.
HTML :
in php : print_r($_POST['data'])
in nodejs console.log(req.body.data)
The text was updated successfully, but these errors were encountered: