-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 5.4: initialize RedisAdapter cursor to 0 do not skip tests from data providers ensure compatibility with Twig 3.15 [Mime] fix encoding issue with UTF-8 addresses containing doubles spaces fix translation file syntax [Validator] [Choice] Fix callback option if not array returned [DependencyInjection] Fix linting factories implemented via __callStatic [DependencyInjection] Fix replacing abstract arguments with bindings Minor fixes around parse_url() checks Ensure compatibility with mongodb v2 Add missing translations for Turkish (tr)
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,14 @@ public function testUtf8CharsInLocalPart() | |
{ | ||
$header = new MailboxHeader('Sender', new Address('fabï[email protected]')); | ||
$this->assertSame('fabï[email protected]', $header->getBodyAsString()); | ||
|
||
// name with single space | ||
$header = new MailboxHeader('Sender', new Address('fabï[email protected]', 'Fabïen Pötencier')); | ||
$this->assertSame('=?utf-8?Q?Fab=C3=AFen_P=C3=B6tencier?= <fabï[email protected]>', $header->getBodyAsString()); | ||
|
||
// name with double spaces | ||
$header = new MailboxHeader('Sender', new Address('fabï[email protected]', 'Fabïen Pötencier')); | ||
$this->assertSame('=?utf-8?Q?Fab=C3=AFen__P=C3=B6tencier?= <fabï[email protected]>', $header->getBodyAsString()); | ||
} | ||
|
||
public function testToString() | ||
|