[asterisk-bugs] [Asterisk 0015583]: [patch] #exec strips too many leading and trailing quotes

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 27 07:00:58 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15583 
====================================================================== 
Reported By:                pkempgen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15583
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 176029 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-25 12:00 CDT
Last Modified:              2009-07-27 07:00 CDT
====================================================================== 
Summary:                    [patch] #exec strips too many leading and trailing
quotes
Description: 
#exec (main/config.c) strips leading and trailing quotes ("<>)
from the command which is a good thing but it strips too many.

Affects 1.4 and probably 1.6.* and trunk as well.
====================================================================== 

---------------------------------------------------------------------- 
 (0108248) pkempgen (reporter) - 2009-07-27 07:00
 https://issues.asterisk.org/view.php?id=15583#c108248 
---------------------------------------------------------------------- 
20090726__issue15583.diff.txt seems to be made against 1.4 so I
tested against 1.4. Does not work. The #execs are executed but
Asterisk does not load the output.
I have uploaded a modified version (20090726__issue15583-1.4.diff.txt)
of your patch (+ cur = c;).
It fixes the issue for 1.4. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-27 07:00 pkempgen       Note Added: 0108248                          
======================================================================




More information about the asterisk-bugs mailing list