ITADN

http: fix crash when setting a header value to a non-string with a newline

#25456Pull RequestJimbly 创建于 2015-05-28
httpprmaster
J
Jimblycommented
From conversation [here](https://groups.google.com/forum/#!topic/nodejs/S5aV7V_PRqw), it seems storeHeader() happily converts any value to a string, unless the value, when converted to a string, has a newline in it, in which case is crashes. This should fix that to also convert to a string when stripping newlines.
合并状态:未合并 关闭于 2023-04-22 2 条评论