note 97340 added to function.quoted-printable-encode
| From: | mjjohnson dot geo dot yahoo dot com at osu1 dot php dot net | Date: | Thu, 15 Apr 2010 08:02:02 +0000 |
| Subject: | note 97340 added to function.quoted-printable-encode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168257@lists.php.net to get a copy of this message | ||
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
)
----
Server IP: 69.147.83.197
Probable Submitter: 71.195.219.198
----
Manual Page -- http://www.php.net/manual/en/function.quoted-printable-encode.php
Edit -- https://master.php.net/note/edit/97340
Del: integrated -- https://master.php.net/note/delete/97340/integrated
Del: useless -- https://master.php.net/note/delete/97340/useless
Del: bad code -- https://master.php.net/note/delete/97340/bad+code
Del: spam -- https://master.php.net/note/delete/97340/spam
Del: non-english -- https://master.php.net/note/delete/97340/non-english
Del: in docs -- https://master.php.net/note/delete/97340/in+docs
Del: other reasons-- https://master.php.net/note/delete/97340
Reject -- https://master.php.net/note/reject/97340
Search -- https://master.php.net/manage/user-notes.php