Changeset 4387

Show
Ignore:
Timestamp:
07/13/07 10:00:12 (1 year ago)
Author:
p_lindheimer
Message:

#1841 don't strip + in directdid

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/functions.inc.php

    r4225 r4387  
    11591159        // clean and check the did to make sure it is not being used by another extension or in did routing 
    11601160        // 
    1161         $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-]/" ,"", trim($directdid)); 
     1161        $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-\+]/" ,"", trim($directdid)); 
    11621162        if (trim($directdid) != "") { 
    11631163                $existing=core_did_get($directdid,"",""); 
     
    13471347         
    13481348        $directdid=$vars['directdid']; 
    1349         $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-]/" ,"", trim($directdid)); 
     1349        $directdid = preg_replace("/[^0-9._XxNnZz\[\]\-\+]/" ,"", trim($directdid)); 
    13501350        // clean and check the did to make sure it is not being used by another extension or in did routing 
    13511351        // 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads