Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (15 sloc) 0.472 kb
ce5336f Cipriano Groenendal Fixed Bug #10792 No unit tests for recently fixed bugs
Cieper authored
1 --TEST--
95b19a0 - Removed redundant tests, titles unified
Aleksander Machniak authored
2 Bug #3513 Support of RFC2231 in header fields. (ISO-8859-1)
ce5336f Cipriano Groenendal Fixed Bug #10792 No unit tests for recently fixed bugs
Cieper authored
3 --SKIPIF--
4 --FILE--
5 <?php
bdb7e4e Cipriano Groenendal Fixed testcases.
Cieper authored
6 $test = "Fóóbær.txt";
ce5336f Cipriano Groenendal Fixed Bug #10792 No unit tests for recently fixed bugs
Cieper authored
7 require_once('Mail/mime.php');
8 $Mime=new Mail_Mime();
bdb7e4e Cipriano Groenendal Fixed testcases.
Cieper authored
9 $Mime->addAttachment('testfile',"text/plain", $test, FALSE, 'base64', 'attachment', 'ISO-8859-1');
10 $root = $Mime->_addMixedPart();
11 $enc = $Mime->_addAttachmentPart($root, $Mime->_parts[0]);
12 print($enc->_headers['Content-Disposition']);
ce5336f Cipriano Groenendal Fixed Bug #10792 No unit tests for recently fixed bugs
Cieper authored
13 --EXPECT--
bdb7e4e Cipriano Groenendal Fixed testcases.
Cieper authored
14 attachment;
1fc8381 * Fix Bug #16706: Incorrect double-quotes RFC 2231-encoded parameter val...
Aleksander Machniak authored
15 filename*=ISO-8859-1''F%F3%F3b%E6r.txt
Something went wrong with that request. Please try again.