diff options
| author | Dik Takken <d.h.j.takken@freedom.nl> | 2020-09-25 15:54:28 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-29 14:55:10 +0200 |
| commit | f3c58a5ed6bbb22260d2d848cc2bfd36ed8b00e3 (patch) | |
| tree | a8b07d40ff41de7582401cb92290318b72ec5922 /ext/pgsql/tests | |
| parent | 59aa21c735190a978c976467560b270855eb92e9 (diff) | |
| download | php-git-f3c58a5ed6bbb22260d2d848cc2bfd36ed8b00e3.tar.gz | |
Make handling of NULL bytes in file paths more consistent (WIP)
Not all extensions consistently throw exceptions when the user passes
a path name containing null bytes. Also, some extensions would throw
a ValueError while others would throw a TypeError. Error messages
also varied.
Now a ValueError is thrown after all failed path checks, at least for
as far as these occur in functions that are exposed to userland.
Closes GH-6216.
Diffstat (limited to 'ext/pgsql/tests')
0 files changed, 0 insertions, 0 deletions
