aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_js.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2023-11-21 08:57:03 -0800
committerDmitry Volyntsev <xeioex@nginx.com>2023-11-21 08:57:03 -0800
commit2743bab180ab067ea6d146c92a30a7f88bff7b2a (patch)
tree573308bd4ee0c623627bd7eb48ce6b6f67cd195e /nginx/ngx_js.c
parent62d0d45611cf8eaab28ec7a64d4bb9b12b3513c0 (diff)
downloadnjs-2743bab180ab067ea6d146c92a30a7f88bff7b2a.tar.gz
njs-2743bab180ab067ea6d146c92a30a7f88bff7b2a.zip
Modules: fixed js_set with Buffer values.
Previously, a Buffer value which contains invalid UTF-8 when returned as a value for js_set handler was mangled because the bytes value was converted to a string value. The fix is to use bytes value of Buffer, TypedArray and ArrayBuffer as is, and not convert it to a string first.
Diffstat (limited to 'nginx/ngx_js.c')
0 files changed, 0 insertions, 0 deletions