]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Properly check if the "Context" and "Extension" headers are empty in a ShowDialPlan...
authorJoshua Colp <jcolp@digium.com>
Mon, 12 Nov 2012 20:45:50 +0000 (20:45 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 12 Nov 2012 20:45:50 +0000 (20:45 +0000)
commit4e04ea29c7f7137b838b3b49d8c97f8e097cd51f
tree952d8a355231689f1693b0cd6f291276c2303332
parent1255a271d4dfefff169585ece67b23af0c22fa26
Properly check if the "Context" and "Extension" headers are empty in a ShowDialPlan action.

The code which handles the ShowDialPlan action wrongly assumed that a non-NULL return value
from the function which retrieves headers from an action indicates that the header has a
value. This is incorrect and the contents must be checked to see if they are blank.

(closes issue ASTERISK-20628)
Reported by: jkroon
Patches:
     asterisk-showdialplan-incorrect-error.patch uploaded by jkroon
........

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

Merged revisions 376167 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@376168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c