Ignore:
Timestamp:
Feb 10, 2010 3:29:45 AM (3 years ago)
Author:
alec
Message:
  • Fix external mailto links support for use as protocol handler (#1486037)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r3250 r3262  
    4545  // process values like "mailto:foo@bar.com?subject=new+message&cc=another" 
    4646  if ($_SESSION['compose']['param']['to']) { 
     47    // #1486037: remove "mailto:" prefix 
     48    $_SESSION['compose']['param']['to'] = preg_replace('/^mailto:/i', '', $_SESSION['compose']['param']['to']); 
    4749    $mailto = explode('?', $_SESSION['compose']['param']['to']); 
    4850    if (count($mailto) > 1) { 
Note: See TracChangeset for help on using the changeset viewer.