MR~TNT File Manager
Current Path:
/opt/alt/tests/alt-php80-pecl-mailparse_3.1.8-1.el8/tests
opt
/
alt
/
tests
/
alt-php80-pecl-mailparse_3.1.8-1.el8
/
tests
/
ðŸ“
..
📄
001.phpt
(328 B)
📄
002.phpt
(571 B)
📄
003.phpt
(597 B)
📄
004.phpt
(765 B)
📄
005.phpt
(948 B)
📄
006.phpt
(2.26 KB)
📄
007.phpt
(1.15 KB)
📄
008.phpt
(354 B)
📄
009.phpt
(896 B)
📄
010.phpt
(1.27 KB)
📄
011.phpt
(678 B)
📄
012-stream.phpt
(476 B)
📄
012-var.phpt
(465 B)
📄
012.phpt
(435 B)
📄
013.phpt
(354 B)
📄
bug001.phpt
(685 B)
📄
bug73110.phpt
(909 B)
📄
bug74223.phpt
(705 B)
📄
bug75825.phpt
(2.1 KB)
📄
bug81403.phpt
(542 B)
📄
bug81422.phpt
(424 B)
📄
gh19.phpt
(935 B)
📄
gh21.phpt
(1.6 KB)
📄
gh22.phpt
(1.76 KB)
📄
gh24.phpt
(710 B)
📄
gh29.phpt
(598 B)
📄
gh30.phpt
(837 B)
📄
parse_test_messages.phpt
(4.66 KB)
ðŸ“
testdata
Editing: gh21.phpt
--TEST-- GH issue #21 (Segmentation fault with mailparse_msg_create()) --SKIPIF-- <?php if (!extension_loaded("mailparse")) die("skip mailparse extension not available"); ?> --FILE-- <?php $data = <<<'EOF' Date: Wed, 29 Jun 2022 19:14:02 +0000 To: dmarc-noreply@linkedin.com From: dmarc-noreply@linkedin.com Content-Type: multipart/report; report-type=feedback-report; boundary="part1_boundary" --part1_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit This is an email abuse report for an email message received from IP x.x.x.x on Wed, 29 Jun 2022 19:14:02 +0000. The message below did not meet the sending domain's dmarc policy. The message below could have been accepted or rejected depending on policy. For more information about this format please see http://tools.ietf.org/html/rfc6591 . --part1_boundary Content-Type: message/feedback-report Feedback-Type: auth-failure User-Agent: Lua/1.0 Version: 1.0 --part1_boundary Content-Type: message/rfc822 Content-Disposition: inline Date: Wed, 29 Jun 2022 20:13:58 +0100 From: "Example" <mail@example.com> To: "LinkedIn" <foo@bounce.linkedin.com> Content-Type: multipart/alternative; boundary="part2_boundary" --part2_boundary Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable foo --part2_boundary Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html>foo</html> --part2_boundary-- --part1_boundary-- EOF; $resource = mailparse_msg_create(); $r = mailparse_msg_parse($resource, $data); echo 'ok', PHP_EOL; mailparse_msg_free($resource); exit(0); ?> --EXPECTF-- ok
Upload File
Create Folder