querystring: check that maxKeys is finite
There was a very subtle change in behavior introduced with 27def4fa In the past if querystring.parse was given Infinity for maxKeys, everything worked as expected. Check to see is maxKeys is Infinity before forwarding the value to String.prototype.split which causes this regression PR-URL: https://github.com/nodejs/node/pull/5066 Reviewed-By:Evan Lucas <evanlucas@me.com> Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
parent
1124de2d
Please register or sign in to comment