]> git.kaiwu.me - njs.git/commit
Fixed String.prototype.indexOf() for byte-strings.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 26 Aug 2020 14:56:47 +0000 (14:56 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 26 Aug 2020 14:56:47 +0000 (14:56 +0000)
commit69c44a49b511619555a3d91d870004e7a6e04bbe
tree4de1d6c2467ca3607754c2d16db3e9d4acf3d312
parente73f852c6e8924f65a1443c4623841c6553a2691
Fixed String.prototype.indexOf() for byte-strings.

The issue was introduced in e8a941b394a3 (0.4.3).

This closes #335 issue on Github.
src/njs_string.c
src/test/njs_unit_test.c