[asterisk-bugs] [Asterisk 0015439]: [patch] URIENCODE() throws a warning when passed an empty string

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 21 17:48:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15439 
====================================================================== 
Reported By:                pkempgen
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15439
Category:                   Functions/func_uri
Reproducibility:            always
Severity:                   trivial
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-02 00:54 CDT
Last Modified:              2009-07-21 17:48 CDT
====================================================================== 
Summary:                    [patch] URIENCODE() throws a warning when passed an
empty string
Description: 
URIENCODE(${empty}) throws a warning:
WARNING[23535]: func_uri.c:51 uriencode: Syntax: URIENCODE(<data>) -
missing argument!
other functions like
QUOTE(${empty})
don't complain.
====================================================================== 

---------------------------------------------------------------------- 
 (0108060) svnbot (reporter) - 2009-07-21 17:48
 https://issues.asterisk.org/view.php?id=15439#c108060 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 207948

_U  branches/1.6.1/
U   branches/1.6.1/funcs/func_strings.c

------------------------------------------------------------------------
r207948 | tilghman | 2009-07-21 17:48:56 -0500 (Tue, 21 Jul 2009) | 22
lines

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

................
  r207946 | tilghman | 2009-07-21 17:45:32 -0500 (Tue, 21 Jul 2009) | 15
lines
  
  Merged revisions 207945 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r207945 | tilghman | 2009-07-21 17:38:54 -0500 (Tue, 21 Jul 2009) | 8
lines
    
    Force an error if a blank is passed to QUOTE (because the
documentation states the argument is not optional).
    This change makes URIENCODE and QUOTE behave similarly, since the
documentation
    states that the argument is not optional, for both.
    (closes issue https://issues.asterisk.org/view.php?id=15439)
     Reported by: pkempgen
     Patches: 
           20090706__issue15439.diff.txt uploaded by tilghman (license 14)
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-21 17:48 svnbot         Checkin                                      
2009-07-21 17:48 svnbot         Note Added: 0108060                          
======================================================================




More information about the asterisk-bugs mailing list