summaryrefslogtreecommitdiff
path: root/doc/api/tty.md
diff options
context:
space:
mode:
authorLuca Maraschi <luca.maraschi@gmail.com>2016-12-04 09:32:51 +0100
committercjihrig <cjihrig@gmail.com>2016-12-08 09:51:07 -0500
commitdf3978421b86991fb45256f1a8694e0590019b13 (patch)
tree21c4941849f545d084e2613b589aebd93fc571c2 /doc/api/tty.md
parent6967ed45acad1e421f50df426c2454031701267a (diff)
downloadandroid-node-v8-df3978421b86991fb45256f1a8694e0590019b13.tar.gz
android-node-v8-df3978421b86991fb45256f1a8694e0590019b13.tar.bz2
android-node-v8-df3978421b86991fb45256f1a8694e0590019b13.zip
http: verify client method is a string
Prior to this commit, it was possible to pass a truthy non-string value as the HTTP method to the HTTP client, resulting in an exception being thrown. This commit adds validation to the method. PR-URL: https://github.com/nodejs/node/pull/10111 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/tty.md')
0 files changed, 0 insertions, 0 deletions