|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75979 mb_encode_mimeheader invalid MIME quoted-printable
Submitted: 2018-02-18 20:12 UTC Modified: -
From: azurit at pobox dot sk Assigned:
Status: Open Package: mbstring related
PHP Version: 7.2.2 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-02-18 20:12 UTC] azurit at pobox dot sk
Function mb_encode_mimeheader is NOT quoting a colon character (:), which is against RFC, see:

See also this very same Thunderbird bug:

Test script:

echo mb_encode_mimeheader("test:test", "UTF-8", "Q");


Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 18:01:26 2019 UTC