Bug #80259 [Com]: Bad handling of RFC 2047 in case of folding white space

From: Date: Wed, 30 Aug 2023 05:09:33 +0000
Subject: Bug #80259 [Com]: Bad handling of RFC 2047 in case of folding white space
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245289@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80259&edit=1 ID: 80259 Comment by: dj7 at forffives dot casa Reported by: om+bugs dot php dot net at miakinen dot net Summary: Bad handling of RFC 2047 in case of folding white space Status: Verified Type: Bug Package: ICONV related Operating System: Linux PHP Version: 7.3 Block user comment: N Private report: N New Comment: it's a good product, i will use it Previous Comments: ------------------------------------------------------------------------ [2023-05-02 09:39:17] austinpatrick711 at gmail dot com RFC 2047 is a standard that defines how non-ASCII text can be represented in email headers using ASCII characters. One aspect of this standard is the use of encoded words, which are sequences of ASCII characters that represent non-ASCII text. However, when folding white space is used in the encoded words, some email clients and servers may incorrectly handle the decoding of the text. Folding white space is when a line break is inserted in the middle of a long string of text to make it fit within a certain line length limit. If an encoded word with folding white space is not correctly handled during decoding, it may result in garbled text or even a security vulnerability if the text is used in a context where it should not be. This can happen because different email clients and servers may interpret folding white space differently. (https://www.tellhappystar.org/)github.com ------------------------------------------------------------------------ [2023-01-18 05:08:11] neskemiquel at gmail dot com White space is only significant in that indentation of continuation lines is used to indicate a rule definition that spans more than one line. <https://www.mypepsico.org/>github.com ------------------------------------------------------------------------ [2022-12-26 08:54:03] marlynrasavong at gmail dot com Have you got solution for this . (https://www.connectebt.us/)github.com ------------------------------------------------------------------------ [2021-04-14 14:02:07] cmb@php.net The following pull request has been associated: Patch Name: Fix #80259: Bad handling of RFC 2047 in case of folding white space On GitHub: https://github.com/php/php-src/pull/6865 Patch: https://github.com/php/php-src/pull/6865.patch ------------------------------------------------------------------------ [2020-10-19 21:57:44] cmb@php.net Confirmed: <https://3v4l.org/RmjD0>. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=80259 -- Edit this bug report at https://bugs.php.net/bug.php?id=80259&edit=1

« previous php.bugs (#245289) next »