]> granicus.if.org Git - php/commit
Fix #72330: CSV fields incorrectly split if escape char followed by UTF chars
authorChristoph M. Becker <cmb@php.net>
Thu, 21 Jul 2016 16:36:12 +0000 (18:36 +0200)
committerChristoph M. Becker <cmb@php.net>
Thu, 21 Jul 2016 16:37:24 +0000 (18:37 +0200)
commitf2c2a4be9e466f14677089efe33e20ca0b146809
tree49ec75acf924c245fe4573b9542af245b9caceaa
parentf813f438552bf52d7d7d6213e12ad67d9e5bbeec
Fix #72330: CSV fields incorrectly split if escape char followed by UTF chars

We must not forget to properly reset the state for multibyte characters
following an escape character.
NEWS
ext/standard/file.c
ext/standard/tests/file/bug72330.phpt [new file with mode: 0644]