note 97340 deleted from function.quoted-printable-encode by danbrown
| From: | danbrown@php.net | Date: | Thu, 15 Apr 2010 12:55:06 +0000 |
| Subject: | note 97340 deleted from function.quoted-printable-encode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-168274@lists.php.net to get a copy of this message | ||
Note Submitter: mjjohnson.geo.yahoo.com
----
Although tzangerl's function is useful, it chokes in certain cases. I haven't finished
figuring out why, but if it's fed a string with no whitespace that's long enough, it
enters an infinite loop. (This could easily happen with a URL, for instance.)
Here's an example string that does it:
http://www.example.com/random-text-to-make-this-long-enough-to-break
(I'm currently using slightly-modified code from umu instead, originally found here: http://www.php.net/manual/en/function.imap-8bit.php#61216
)