Skip to content
Permalink
Branch: master
Commits on Jan 4, 2020
  1. Merge branch '5.0'

    nicolas-grekas committed Jan 4, 2020
    * 5.0: (31 commits)
      [HttpClient] NativeHttpClient should not send >1.1 protocol version
      [HttpClient] fix support for non-blocking resource streams
      [Mailer] Make sure you can pass custom headers to Mailgun
      [Mailer] Remove line breaks in email attachment content
      Update links to documentation
      [Validator] Add the missing translations for the Arabic (ar) locale
      ensure to expect no validation for the right reasons
      [Security-Guard] fixed 35203 missing name tag in param docblock
      [HttpClient] fix casting responses to PHP streams
      [PhpUnitBridge] Add test case for @expectedDeprecation annotation
      [PhpUnitBridge][SymfonyTestsListenerTrait] Remove $testsWithWarnings stack
      [FrameworkBundle] Fix getUser() phpdoc in AbstractController
      [Mailer] Fix addresses management in Sendgrid API payload
      [Mailer][MailchimpBridge] Fix missing attachments when sending via Mandrill API
      [Mailer][MailchimpBridge] Fix incorrect sender address when sender has name
      [HttpClient] fix capturing SSL certificates with NativeHttpClient
      Update year in license files
      Update year in license files
      [TwigBridge][Form] Added missing help messages in form themes
      Update year in license files
      ...
  2. Merge branch '4.4' into 5.0

    nicolas-grekas committed Jan 4, 2020
    * 4.4: (26 commits)
      [HttpClient] NativeHttpClient should not send >1.1 protocol version
      [HttpClient] fix support for non-blocking resource streams
      [Mailer] Make sure you can pass custom headers to Mailgun
      [Mailer] Remove line breaks in email attachment content
      Update links to documentation
      [Validator] Add the missing translations for the Arabic (ar) locale
      ensure to expect no validation for the right reasons
      [Security-Guard] fixed 35203 missing name tag in param docblock
      [HttpClient] fix casting responses to PHP streams
      [PhpUnitBridge] Add test case for @expectedDeprecation annotation
      [PhpUnitBridge][SymfonyTestsListenerTrait] Remove $testsWithWarnings stack
      [Mailer] Fix addresses management in Sendgrid API payload
      [Mailer][MailchimpBridge] Fix missing attachments when sending via Mandrill API
      [Mailer][MailchimpBridge] Fix incorrect sender address when sender has name
      [HttpClient] fix capturing SSL certificates with NativeHttpClient
      Update year in license files
      [TwigBridge][Form] Added missing help messages in form themes
      Update year in license files
      Update year in license files
      fix version when "anonymous: lazy" was introduced
      ...
  3. Merge branch '4.3' into 4.4

    nicolas-grekas committed Jan 4, 2020
    * 4.3:
      [Mailer] Remove line breaks in email attachment content
      Update links to documentation
      [Validator] Add the missing translations for the Arabic (ar) locale
      ensure to expect no validation for the right reasons
      [PhpUnitBridge] Add test case for @expectedDeprecation annotation
      [PhpUnitBridge][SymfonyTestsListenerTrait] Remove $testsWithWarnings stack
      [Mailer][MailchimpBridge] Fix missing attachments when sending via Mandrill API
      [Mailer][MailchimpBridge] Fix incorrect sender address when sender has name
      [HttpClient] fix capturing SSL certificates with NativeHttpClient
      [TwigBridge][Form] Added missing help messages in form themes
      Update year in license files
      Update year in license files
      [HttpClient] fix typo
      [Console][FormatterHelper] Use helper strlen statically and remove duplicated code
      [Routing] Fix i18n routing when the url contains the locale
      Fix BC issue in phpDoc Reflection library
      [Translator] Performance improvement in MessageCatalogue and catalogue operations.
  4. bug #33672 [Mailer] Remove line breaks in email attachment content (S…

    nicolas-grekas committed Jan 4, 2020
    …tuart Fyfe)
    
    This PR was squashed before being merged into the 4.3 branch.
    
    Discussion
    ----------
    
    [Mailer] Remove line breaks in email attachment content
    
    Line breaks are not allowed in attachment content when sending over the
    API.
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 4.3
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Tickets       | Fix #33671, Closes #32645
    | License       | MIT
    | Doc PR        |
    
    This is a fix for #33671. Send grid's API throws a 400 error when sending email attachments with default base64 encoding.
    Removing the line breaks resolves this issue.
    
    Commits
    -------
    
    a28a7f9dee [Mailer] Remove line breaks in email attachment content
You can’t perform that action at this time.