#
c5e0a6aa |
| 04-Sep-2024 |
Daniel Scherzer |
Fix GH-15752: `finfo_file()` - parameter validation error messages Show the correct parameter names and numbers - the errors are caused by the second parameter being empty or having null
Fix GH-15752: `finfo_file()` - parameter validation error messages Show the correct parameter names and numbers - the errors are caused by the second parameter being empty or having null bytes, not the first. close GH-15755
show more ...
|
#
a01dd9fe |
| 14-Sep-2022 |
Bob Weinand |
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included i
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.
show more ...
|
#
94ee4f98 |
| 24-Aug-2022 |
Bob Weinand |
Port all internally used classes to use default_object_handlers Signed-off-by: Bob Weinand <bobwei9@hotmail.com> |
#
debd38f8 |
| 02-Jun-2022 |
Máté Kocsis |
Add support for sensitive parameters in stubs |
#
d457519b |
| 04-Jun-2022 |
Máté Kocsis |
Declare ext/fileinfo constants in stubs (#8701) |
#
8de75fa7 |
| 15-Apr-2022 |
Anatol Belski |
fileinfo: Re-add Apple flag It is not supported for all kinds of data, but it is definitely usable. Signed-off-by: Anatol Belski <ab@php.net> |
#
16c98d48 |
| 20-Sep-2021 |
George Peter Banyard |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix Bug #81462 mime_content_type() indicates wrong arg num on TypeError
|
#
0ea38b95 |
| 20-Sep-2021 |
George Peter Banyard |
Fix Bug #81462 mime_content_type() indicates wrong arg num on TypeError |
#
570d9b63 |
| 20-Jul-2021 |
Joe Watkins |
Not serializable flag permeation |
#
4a107523 |
| 14-Jun-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Regenerate arginfo file Fixed bug #80197
|
#
5dc31e0c |
| 14-Jun-2021 |
Nikita Popov |
Fixed bug #80197 Use "libmagic/magic.h" rather than <magic.h> to make sure that we use the bundled libmagic, even if there is a system libmagic on the include path. |
#
01b3fc03 |
| 06-May-2021 |
KsaR |
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier". 3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted. 4. fixed indentation in some files before |
show more ...
|
#
89c55afe |
| 10-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Make finfo_open() $magic_database nullable
|
#
fd5ff37d |
| 10-Feb-2021 |
Nikita Popov |
Make finfo_open() $magic_database nullable Empty string was interpreted as a special value here, which indicates that the default magic database should be used. It makes more sense t
Make finfo_open() $magic_database nullable Empty string was interpreted as a special value here, which indicates that the default magic database should be used. It makes more sense to use null for this purpose. The documentation also explicitly mentions that null can be used.
show more ...
|
#
98fb565c |
| 05-Feb-2021 |
Máté Kocsis |
Generate class entries from stubs for another batch of extensions Closes GH-6669 |
#
b85f0d1c |
| 18-Dec-2020 |
Christoph M. Becker |
Convert file_info resources to objects Besides our general desire to get rid of the legacy resource types, this is particularly appealing for fileinfo, because there are already resp
Convert file_info resources to objects Besides our general desire to get rid of the legacy resource types, this is particularly appealing for fileinfo, because there are already respective objects. Closes GH-5987.
show more ...
|
#
6d3695a2 |
| 26-Oct-2020 |
Nikita Popov |
Deny serialization of finfo objects The resulting objects were already unusable, make it error out earlier. |
#
70388cc0 |
| 26-Oct-2020 |
Nikita Popov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Deny cloning of fileinfo objects
|
#
9353f11b |
| 26-Oct-2020 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Deny cloning of fileinfo objects
|
#
7817fc07 |
| 26-Oct-2020 |
Nikita Popov |
Deny cloning of fileinfo objects Using a cloned finfo object will crash. |
#
f3c58a5e |
| 25-Sep-2020 |
Dik Takken |
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 extens
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.
show more ...
|
#
41b096b3 |
| 25-Sep-2020 |
Máté Kocsis |
Promote a few forgotten warnings to exceptions Closes GH-6211 |
#
196f8fdf |
| 06-Aug-2020 |
George Peter Banyard |
Promote warnings to Error in FileInfo extension Closes GH-5914 |
#
2b5de6f8 |
| 01-Jul-2020 |
Max Semenik |
Remove proto comments from C files Closes GH-5758 |
#
3fe49d81 |
| 11-Apr-2020 |
Máté Kocsis |
Generate method entries from stubs for a couple of extensions Closes GH-5368 |