Re: Patch for mailto: link urlencoding
"Michael A. Puls II" <[email protected]>
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <op.u6jegneu1ejg13@sandra-svwliu01> |
On Thu, 14 Jan 2010 13:53:48 -0500, Jon Nathan <[email protected]> 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 <[email protected]> [01-13-2010 12:25]: >> >> On Wed, 13 Jan 2010 10:33:44 -0500, Michael A. Puls II >> <[email protected]> wrote: >> > Attached is the full patch. Hope that helps. >> >> Attaching the same patch but using str_replace() since regex isn't >> needed. -- Michael ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel