[asterisk-bugs] [Asterisk 0016900]: [patch] patch for LISTFILTER to properly handle delimiter

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 10 14:48:34 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16900 
====================================================================== 
Reported By:                bluecrow76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16900
Category:                   Functions/func_strings
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.2 
JIRA:                       SWP-972 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-24 15:34 CST
Last Modified:              2010-03-10 14:48 CST
====================================================================== 
Summary:                    [patch] patch for LISTFILTER to properly handle
delimiter
Description: 
LISTFILTER is removing the requested string from a variable properly, but
is leaving extra delimiters behind in the return string.

I have tested the patched code with single and multiple character
delimiters and it appears to be working properly now.  I have tested it on
1.6.2.1 and 1.6.2.4.
====================================================================== 

---------------------------------------------------------------------- 
 (0119236) svnbot (reporter) - 2010-03-10 14:48
 https://issues.asterisk.org/view.php?id=16900#c119236 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 251678

U   branches/1.6.2/funcs/func_strings.c

------------------------------------------------------------------------
r251678 | tilghman | 2010-03-10 14:48:34 -0600 (Wed, 10 Mar 2010) | 7
lines

LISTFILTER was doubling delimiters on output.

(closes issue https://issues.asterisk.org/view.php?id=16900)
 Reported by: bluecrow76
 Patches: 
       asterisk-1.6.2.4-func_strings.diff uploaded by bluecrow76 (license
270)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=251678 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-10 14:48 svnbot         Checkin                                      
2010-03-10 14:48 svnbot         Note Added: 0119236                          
======================================================================




More information about the asterisk-bugs mailing list