[php-src] PR #13960: Make (DOM)XPath::quote only accept strings without NULL bytes
| From: | nielsdos | Date: | Sun, 14 Apr 2024 14:52:51 +0000 |
| Subject: | [php-src] PR #13960: Make (DOM)XPath::quote only accept strings without NULL bytes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25741@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13960
Author: nielsdos
The reason is that libxml will cut off on a NULL byte, and so strings containing NULL bytes may not
be necessarily safe even when coming out of quoting.