Remi Collet
458d348abb
Release 3.1.9
v3.1.9
2025-09-30 11:47:47 +02:00
Remi Collet
f4c9d92c90
Fix memory leak
2025-09-29 16:03:55 +02:00
Remi Collet
ae33599c94
changelog
2025-07-30 12:32:24 +02:00
Remi Collet
385f248446
use Zend/zend_smart_string.h
2025-07-30 12:31:36 +02:00
Remi Collet
753ba945ed
Reapply "Back to dev"
...
This reverts commit df42af9989 .
2025-05-19 08:18:39 +02:00
Remi Collet
df42af9989
Revert "Back to dev"
...
This reverts commit 6dabdf4061 .
v3.1.8+pie2
2025-05-19 08:17:54 +02:00
Remi Collet
e90b36ca8a
add composer.json for pie installation
v3.1.8+pie
2025-05-19 08:13:50 +02:00
Remi Collet
6dabdf4061
Back to dev
2024-10-04 14:49:13 +02:00
Remi Collet
a3338bb4c3
Release 3.1.8
v3.1.8
2024-10-04 14:32:42 +02:00
Remi Collet
323de97cf5
also fix .re
2024-10-04 14:32:26 +02:00
Remi Collet
f73ef80fd4
Back to dev
2024-10-04 10:11:28 +02:00
Remi Collet
4511a6f238
Release 3.1.7
v3.1.7
2024-10-04 10:04:47 +02:00
Remi Collet
8f935f0363
cleanup
2024-09-28 08:09:42 +02:00
Remi Collet
56c80d21dc
use zend_str_tolower instead of php_strtolower
2024-09-25 15:20:25 +02:00
Mathieu Rochette
03ecc34534
Building and testing on php 8.3
2023-10-24 07:20:52 +02:00
Remi Collet
6cf0d1b457
missing tests
2023-08-29 17:48:21 +02:00
Remi Collet
ed46801b8e
fix invalid read
2023-08-29 09:16:51 +02:00
Remi Collet
e6e01174b9
back to dev
2023-08-22 08:16:32 +02:00
Remi Collet
5967ea6a3f
Prepare 3.1.6
v3.1.6
2023-08-22 08:11:12 +02:00
Remi Collet
478d5b5628
new tests in pecl archive
2023-08-19 08:13:08 +02:00
Remi Collet
05339c8816
revert fix for #81403 to fix segfault
2023-08-19 07:53:36 +02:00
Remi Collet
d1f25fdd2f
back to devel
2023-07-27 13:59:22 +02:00
Remi Collet
c0709df595
Release 3.1.5
v3.1.5
2023-07-27 13:44:46 +02:00
Remi Collet
4796c92867
use SPDX license ID
2023-07-25 11:01:50 +02:00
Remi Collet
bd4a675032
cleanup unneeded dtor (avoid ErrorType exception)
2023-07-25 10:59:16 +02:00
Remi Collet
9d1be453b9
Merge pull request #26 from mathroc/patch-1
...
Build and test on PHP 8.2
2023-07-25 10:24:57 +02:00
Remi Collet
d4bd069aa7
regen php_mailparse_rfc822.c + changelog
2023-07-25 10:22:20 +02:00
Christoph M. Becker
c97ee56e25
Fix #81403 : mailparse_rfc822_parse_addresses drops escaped quotes
...
A quoted-string may contain double-quotes if they are properly escaped,
and we must not drop these.
2023-07-25 10:19:12 +02:00
Remi Collet
92dde0bd6d
fix GH-21, GH-22, GH-24 segfault in mailparse_msg_parse without mime-version
2023-07-25 09:54:53 +02:00
Remi Collet
80133bc2d4
Fix #27 MimeMessage::__construct() throws TypeError with $mode=stream
2023-06-12 14:15:34 +02:00
Remi Collet
59e040beac
fix regression for PHP < 8.1
2023-05-30 15:39:31 +02:00
Remi Collet
a0d99d6372
drop usage of removed mbfl APIs in PHP 8.3
2023-05-30 15:22:05 +02:00
Mathieu Rochette
5c64758183
Build and test on PHP 8.2
2022-11-30 16:04:39 +01:00
Remi Collet
7f58ef4910
back to dev
2022-09-15 14:00:37 +02:00
Remi Collet
35d6476791
Prepare 3.1.4
v3.1.4
2022-09-15 13:44:56 +02:00
Remi Collet
f8d4e40474
clean up pre 7.3 compat
2022-09-15 13:34:14 +02:00
Remi Collet
e633e2308a
declare mimemessage::data property (for 8.2)
2022-05-24 16:16:44 +02:00
Remi Collet
19d9e8421f
back to dev
2022-02-21 14:36:03 +01:00
Remi Collet
923aef546a
Release 3.1.3
v3.1.3
2022-02-21 14:34:26 +01:00
Remi Collet
9b7b20f660
clean
2022-02-21 11:35:36 +01:00
Remi Collet
a84d3e1e4a
update changelog
2022-02-21 11:21:46 +01:00
Remi Collet
3680710631
simplify php_stream_memory_get_buffer calls
2022-02-21 11:16:10 +01:00
Remi Collet
c53ff56254
fix more php_stream_memory_get_buffer calls
2022-02-21 10:36:52 +01:00
Remi Collet
dca513d187
Fix gh#19 Segmentation fault with PHP 8.1 in extract_body using MAILPARSE_EXTRACT_RETURN
2022-02-21 10:20:44 +01:00
Christoph M. Becker
dfb1fd9b83
Fix #73110 : Mails with unknown MIME version are treated as plain/text
...
We are already liberal regarding a missing MIME version header, but not
for versions other than 1.0. However, there are no other MIME
versions, and it is somewhat unlikely that there ever will[1]. Thus,
we treat an unknown MIME version like we treat a missing MIME version,
i.e. we assume 1.0.
[1] <https://wellecks.wordpress.com/tag/mime-version/ >
Closes GH-18.
2021-09-20 10:10:11 +02:00
Christoph M. Becker
bca9ef964c
Fix #75825 : mailparse_uudecode_all doesn't parse multiple files
...
As is, multiple uuencoded files needs to be separated by at least one
blank line. This restriction appears to be somewhat arbitrary, since
the end of each file is already signaled by the sequence of a line with
a backtick only, followed by a line with the word "end" only. Thus, we
lift this restriction.
Closes GH-16.
2021-09-20 10:06:59 +02:00
Christoph M. Becker
40db96f856
Fix #74233 : Parsing multi Content-Disposition causes memory leak
...
We need to free existing `content_disposition` before assigning a new
one.
This patch has been contributed by naoki-kawamukai.
Closes GH-14.
2021-09-13 15:45:58 +02:00
Christoph M. Becker
b0b3134d20
Update to setup-php-sdk v0.2
2021-09-13 15:19:51 +02:00
Christoph M. Becker
0f0eb2f48c
Simplify Ubuntu CI
...
As suggested by @remicollet. This drastically reduces the need for our
hacks; actually, we only need the workaround to define HAVE_MBSTRING
since apparently, the extension had been build with `phpize`, and as
such the desired entry in main/php_config.php is missing.
Closes GH-15.
2021-09-13 15:17:39 +02:00
Christoph M. Becker
7fe7a0316f
Fix #81422 : Potential double-free in mailparse_uudecode_all()
...
We must not release the outpath multiple times. We also make sure that
we only release the outpath of the part files, if the stream had been
opened successfully.
Closes GH-17.
2021-09-07 12:20:00 +02:00