php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65767 Invalid quoted-printable sequence
Submitted: 2013-09-26 13:19 UTC Modified: 2013-10-15 11:54 UTC
Votes:7
Avg. Score:3.4 ± 1.3
Reproduced:7 of 7 (100.0%)
Same Version:2 (28.6%)
Same OS:0 (0.0%)
From: info at djdb dot be Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 5.5.4 OS: win7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: info at djdb dot be
New email:
PHP Version: OS:

 

 [2013-09-26 13:19 UTC] info at djdb dot be
Description:
------------
---
From manual page: http://www.php.net/function.imap-qprint
---
Unknown: Invalid quoted-printable sequence: ="_=_swift_v4_136992480651a764c653d74_=_" --_=_swift_v4_136992480651a764c653 (errflg=3) in Unknown on line 0

Test script:
---------------
confediral script can not post

read noreplay from mail sended by swift

Expected result:
----------------
I think it has with cote that they use so by norepy wil the message as send comes as plain back so its can maybe also encoding. but i only let you now it that if you want you can do something .


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-09-26 17:38 UTC] requinix@php.net
-Status: Open +Status: Feedback -Type: Feature/Change Request +Type: Bug -Package: *Mail Related +Package: IMAP related
 [2013-09-26 17:38 UTC] requinix@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Need a complete repro script. imap_qprint() requires only a string, not an IMAP server, so you should be able to pare something down.

And keep in mind you can't imap_qprint() an entire multipart email. You have to 
do it to the individual parts (and only the ones that are Quoted-Printable, of 
course).
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2020-10-14 14:53 UTC] jab_creations at yahoo dot com
A lot of people are having problems dealing with malformed quote-printable text.

The malformed q-encoded text from Yahoo:

=?UTF-8?Q?GOG_Forward =?UTF-8?Q?ck-off_with_Weekly_Sale_up_to_90%_off?=

The original q-encoded text that decodes correctly without involving Yahoo for any reason:

=?UTF-8?Q?GOG_Forward=3A_Fw=3A_=F0=9F=98=89_A_great_Monday_kick-?= =?UTF-8?Q?off_with_Weekly_Sale_up_to_90=25_off?=

Both native PHP functions imap_mime_header_decode and quoted_printable_decode throw the error:

Notice: Unknown: Invalid quoted-printable sequence: =?UTF-8?Q?ck-off with Weekly Sale up to 90% off (errflg=3) in Unknown on line 0
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jan 19 21:01:24 2021 UTC