]> git.kaiwu.me - njs.git/commit
Fixed querystring.parse().
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 6 Nov 2020 11:41:32 +0000 (11:41 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 6 Nov 2020 11:41:32 +0000 (11:41 +0000)
commit489909301db250c06d7a38a95e03bcdba56095ff
treed3dd0c5f2ae5d59cdb4a2e4c9231eb94e6094d47
parent0bca4b3e0ec7d5cacbe431af1c4c1ce49ddc9596
Fixed querystring.parse().

The issue happened when the first eq symbol is located after the
separator, whereas it should be looked for only in the string segment
before the separator.

This fixes #349 issue on Github.
src/njs_query_string.c
src/test/njs_unit_test.c