aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_js.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2023-03-07 20:51:45 -0800
committerDmitry Volyntsev <xeioex@nginx.com>2023-03-07 20:51:45 -0800
commit485b3657f288209d894389ff75285c747cecf08e (patch)
tree24513f739e131b030996c0e9532fd368e8a4ccae /nginx/ngx_js.c
parent363bc64968ee5a94763157ebfbaeb7930addb8c9 (diff)
downloadnjs-485b3657f288209d894389ff75285c747cecf08e.tar.gz
njs-485b3657f288209d894389ff75285c747cecf08e.zip
Fixed String.prototype.replace() with replacement containing "$'", "$`".
Previously, the resulting string was might be broken when the string to replace and the search string were UTF-8. pos is always a character offset, it should not be directly used as a byte size or offset.
Diffstat (limited to 'nginx/ngx_js.c')
0 files changed, 0 insertions, 0 deletions