-
Notifications
You must be signed in to change notification settings - Fork 65
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
Query String with Array of Objects doesn't seem to work correctly #30
Comments
there isn't really anything "correct" but typically "transaction[1].foo=" is just transaction[1][foo]=", im sure we can fit in support for that though. do you mind posting the whole thing? or most of it for a test case |
I had to strip the values out of some things, but here's what I got back:
With the query parser, I get:
|
thanks that will do |
@visionmedia It looks like the issue is that the [] balancing is off. I was able to get things parsed correctly by leaving off one of the closing brackets ( ']' ) on my fields, is this being worked on? or is this something that would be good for a fork/fix? |
@visionmedia I am running into the same issue. Did someone find a fix? |
I'm working with PayPal IPN notifications right now and I'm getting an issue with express.bodyParser
transaction%5B1%5D.status_for_sender_txn=Completed&transaction%5B1%5D.receiver=...
What I'm getting back is:
I'm not sure if what PayPal is sending back to me is correct protocol but how the data is being parsed really messes up what I have to send back to them.
The text was updated successfully, but these errors were encountered: