func_uri: URIENCODE/URIDECODE - allow empty strings as argument
authorJonathan Rose <jrose@digium.com>
Tue, 15 Jul 2014 17:57:17 +0000 (17:57 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 15 Jul 2014 17:57:17 +0000 (17:57 +0000)
commit4420ce6e5c84f4bb091bb1877dd1158feff2f1c8
treec7d42e11cbe9412ff30dadc0b4c64875f95bf07a
parenta1eec851c63ef9fde880cd6b72bf52bf745d6c6b
func_uri: URIENCODE/URIDECODE - allow empty strings as argument

Previously these two dialplan functions would issue warnings and
return failure when an empty string is used as the argument. Now
they will not issue a warning and will successfully return an
empty string.

ASTERISK-23911 #close
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/3745/
........

Merged revisions 418641 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 418649 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 418650 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_uri.c