From: Michael A. P. I. <sha...@gm...> - 2010-01-14 19:16:10
|
On Thu, 14 Jan 2010 13:53:48 -0500, Jon Nathan <jon...@ru...> wrote: > Thanks for your time on this Michael. I confirmed that your patch > works nicely. I'll use this going forward. You're welcome. Maybe sometime, I'll convert my JS mailto URI parser code <http://shadow2531.com/js/mailto_uri_parser.js> to a functions/mailto_uri_parser.php that various SquirrelMail php scripts could include and use. That would make things easier all over the place. For example, it can parse a mailto URI (including normalization and handling of '+') and produce a SquirrelMail ?compose= URI in one shot. It's based on <http://shadow2531.com/opera/testcases/mailto/modern_mailto_uri_scheme.html> and <http://shadow2531.com/opera/testcases/mailto/mailto_uri_scheme_idea.html>. But, for now, enjoy the quick fix. > * Michael A. Puls II <sha...@gm...> [01-13-2010 12:25]: >> >> On Wed, 13 Jan 2010 10:33:44 -0500, Michael A. Puls II >> <sha...@gm...> wrote: >> > Attached is the full patch. Hope that helps. >> >> Attaching the same patch but using str_replace() since regex isn't >> needed. -- Michael |