Skip to content

Conversation

@mpa
Copy link

@mpa mpa commented Aug 13, 2012

Node querystring library doesn't handle nested object property
correctly (stringify method). For instance:

{ id: '1',
  name: 'skill1',
  language: 'en',
  operators: [ { login: 'a@b.pl' }, { login: 'jenny.doe@mycompany.com'
} ],
  status: 'offline' }

got parsed into:

id=1&name=skill1&language=en&operators=&operators=&status=offline

@visionmedia to the rescue!
https://github.com/visionmedia/node-querystring/ handles that correctly.

Maciej Pawłowski added 2 commits August 13, 2012 14:19
Node `querystring` library doesn't handle nested object property
correctly. For instance:
```
{ id: '1',
  name: 'skill1',
  language: 'en',
  operators: [ { login: 'a@b.pl' }, { login: 'jenny.doe@mycompany.com'
} ],
  status: 'offline' }
```

got parsed into:
```
id=1&name=skill1&language=en&operators=&operators=&status=offline
```

@visionmedia to the rescue!
https://github.com/visionmedia/node-querystring/ handles that correctly.
@easternbloc
Copy link
Collaborator

Hey dude this is good but wont auto merge so and you have an error in your package.json you required qs in as a dev dep. I'm gonna reference this in another pr but close this one cheers.

@easternbloc easternbloc closed this Dec 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants