Re: [Patch] for Mail_mimeDecode
| From: | Mirco 'meebey' Bauer | Date: | Sun, 27 Jul 2003 12:45:08 +0000 |
| Subject: | Re: [Patch] for Mail_mimeDecode | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18785@lists.php.net to get a copy of this message | ||
I got no patch through the ML,
it must be text/plan or the ML software removes it, if you use smart
programs like Outlook or similar, rename the file to .txt
The safest way which always work is using a http server and paste here
the URL ;)
I am interested in the patch because I use the set of packages:
Mail_mimeDecode
NNTP
Config
Console_Getopts
I didn't test your .3 version yet but I am very curious about it...
(very busy with other stuff)
On Sun, 2003-07-27 at 14:17, Heino H. Gehlsen wrote:
> In the need of a uudecode function, that both extracted and removed
> uuencoded sections from a string, I made some improvements to the existing
> uudecode() in Mail_mimeDecode.
>
> The patched uudecode() lets the user choose between preserving all uuencoded
> sections, removing only successfully extracted sections, and removing all
> uuencoded blockes. Additionaly the user can provide a replacement string,
> that will replace the removed sections.
>
> While at it, I saw that the $_input is actually only used within
> Mail_mimeDecode(), and that there also is some unnessesary variable
> duplication, so I also made a second patch, which takes care of this. The
> patch also makes a minor change in _decode(), where 'text/plain' and
> 'text/html' had separate but identical code.
>
> Heino
--
Mirco 'meebey' Bauer
PGP-Key:
http://search.keyserver.net:11371/pks/lookup?op=get&search=0x5051C9B9
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-: a--- C++ UL++>++++ P L++$>+++$ E W+++$ N o? K- w++>! O- M- V? PS
PE+ Y- PGP>++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r>++ y?
------END GEEK CODE BLOCK------