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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 10 14:30:35 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:30 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0119235) svnbot (reporter) - 2010-03-10 14:30
 https://issues.asterisk.org/view.php?id=16900#c119235 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 251677

U   trunk/funcs/func_strings.c
U   trunk/tests/test_substitution.c

------------------------------------------------------------------------
r251677 | tilghman | 2010-03-10 14:30:35 -0600 (Wed, 10 Mar 2010) | 5
lines

It's amazing what writing a test will find.

(issue https://issues.asterisk.org/view.php?id=16900)
 Reported by: bluecrow76

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

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

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




More information about the asterisk-bugs mailing list