[Asterisk-code-review] pbx_variables: Fix parsing multiple = in Set command (asterisk[16])

Leandro Dardini asteriskteam at digium.com
Fri Jan 22 18:26:08 CST 2021


Hello Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/15331

to look at the new patch set (#3).

Change subject: pbx_variables: Fix parsing multiple = in Set command
......................................................................

pbx_variables: Fix parsing multiple = in Set command

The variable name and value of a Set command are separated by a
=, but the = character may appear in the variable name portion as
a parameter for a function, like any ODBC_* func_odbc.conf
function, so better handling of quotes, parenthesis, and brackets
was needed.

ASTERISK-29239 #close

Change-Id: I7cd3bc6118033530ad00ae4b6bdad97b6b349b6f
---
M include/asterisk/utils.h
M main/pbx_variables.c
M main/utils.c
3 files changed, 69 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/31/15331/3
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15331
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I7cd3bc6118033530ad00ae4b6bdad97b6b349b6f
Gerrit-Change-Number: 15331
Gerrit-PatchSet: 3
Gerrit-Owner: Leandro Dardini <ldardini at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-CC: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210122/cb6703f9/attachment.html>


More information about the asterisk-code-review mailing list