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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 16 18:54:09 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15583 
====================================================================== 
Reported By:                pkempgen
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15583
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 176029 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-25 12:00 CDT
Last Modified:              2009-09-16 18:54 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0110850) svnbot (reporter) - 2009-09-16 18:54
 https://issues.asterisk.org/view.php?id=15583#c110850 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 219064

_U  branches/1.6.0/
U   branches/1.6.0/configs/extensions.conf.sample
U   branches/1.6.0/main/config.c

------------------------------------------------------------------------
r219064 | tilghman | 2009-09-16 18:54:09 -0500 (Wed, 16 Sep 2009) | 22
lines

Merged revisions 219061 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219061 | tilghman | 2009-09-16 18:42:12 -0500 (Wed, 16 Sep 2009) | 15
lines
  
  Merged revisions 219023 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219023 | tilghman | 2009-09-16 18:21:53 -0500 (Wed, 16 Sep 2009) | 8
lines
    
    Properly deal with quotes in the arguments of '#exec' includes.
    (closes issue https://issues.asterisk.org/view.php?id=15583)
     Reported by: pkempgen
     Patches: 
           20090726__issue15583.diff.txt uploaded by tilghman (license 14)
           20090726__issue15583-1.4-4.diff.txt uploaded by pkempgen
(license 169)
     Tested by: pkempgen
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-16 18:54 svnbot         Checkin                                      
2009-09-16 18:54 svnbot         Note Added: 0110850                          
======================================================================




More information about the asterisk-bugs mailing list