php-serialize
php-serialize copied to clipboard
Cannot read property 'name' of undefined
Node querystring.parse
method returns an object with null prototype for security reasons.
Passing that object to serialize() throws Cannot read property 'name' of undefined
.
Would it be possible to stop depending on the object's prototype in order to fix this issue?
Thanks!
Related:
- https://github.com/nodejs/node/pull/6055