History log of /PHP-7.4/ext/simplexml/tests/bug79971_1.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# f15f8fc5 01-Sep-2020 Christoph M. Becker

Fix #79971: special character is breaking the path in xml function

The libxml based XML functions accepting a filename actually accept
URIs with possibly percent-encoded characters. Per

Fix #79971: special character is breaking the path in xml function

The libxml based XML functions accepting a filename actually accept
URIs with possibly percent-encoded characters. Percent-encoded NUL
bytes lead to truncation, like non-encoded NUL bytes would. We catch
those, and let the functions fail with a respective warning.

show more ...