MDL-40676 ignore null bytes
MDL-40676 tests: fix null byte test.
weekly release 2.3.8+