Opened 21 years ago
Closed 19 years ago
#2460 closed defect (bug) (fixed)
wp-mail.php: quoted printable encoding not decoding
| Reported by: | Staro | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | General | Version: | 2.0.1 |
| Severity: | normal | Keywords: | wp-mail.php quoted printable has-patch |
| Cc: | Focuses: |
Description
When sending an email in this format:
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =E4=F6=FC =C4=D6=DC =DF
the message body will not be decoded. It should use the PHP function quoted_printable_decode(),
since many mobile phones can only send emails in this encoding.
Attachments (2)
Change History (11)
#4
@
20 years ago
- Keywords has-patch added
- Milestone → 2.1
Updated the already present patch to the current version of trunk.
#7
@
19 years ago
- Resolution fixed
- Status closed → reopened
Note that function stripos is only available in PHP 5. You might want to change the condition on line 121 to strpos(strtolower($content_transfer_encoding), "quoted-printable") to ensure compatibility with providers still using PHP 4.
Also I think MIME headers are case insensitive too so the explode on line 116 might not always work.
And I'm still having the problem I posted in #3717.
#8
@
19 years ago
http://trac.wordpress.org/changeset/5187
stripos() was added in for compatibility already.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I think this diff in attachment could fix it. (but don't know at which position exactly the conversion should take place)