|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
26 + 18 = ?
Subscribe to this entry?

 [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 Sep 23 13:01:27 2019 UTC