Changeset 4385

Show
Ignore:
Timestamp:
07/13/07 12:57:29 (6 years ago)
Author:
p_lindheimer
Message:

#1841 don't strip + in directdid

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3/core/functions.inc.php

    r4375 r4385  
    12651265  // clean and check the did to make sure it is not being used by another extension or in did routing 
    12661266  // 
    1267   $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-]/" ,"", trim($directdid)); 
     1267  $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-\+]/" ,"", trim($directdid)); 
    12681268  if (trim($directdid) != "") { 
    12691269    $existing=core_did_get($directdid,"",""); 
     
    15261526   
    15271527  $directdid=$vars['directdid']; 
    1528   $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-]/" ,"", trim($directdid)); 
     1528  $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-\+]/" ,"", trim($directdid)); 
    15291529  // clean and check the did to make sure it is not being used by another extension or in did routing 
    15301530  //