Module: sip-router
Branch: master
Commit: 11e9f93d3bad8cfedcd55bdc4fc6c559309c4635
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=11e9f93…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Feb 26 18:56:44 2014 +0100
parser/parse_addr_spec: allow comman inside quoted values no matter of being allowed
separator
- comma is valid inside quoted parameters values
---
parser/parse_addr_spec.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/parser/parse_addr_spec.c b/parser/parse_addr_spec.c
index 1820e6c..179c907 100644
--- a/parser/parse_addr_spec.c
+++ b/parser/parse_addr_spec.c
@@ -438,6 +438,10 @@ semicolon_add_param:
}
break;
case ',':
+ if(status==PARA_VALUE_QUOTED) {
+ /* comma is allowed inside quoted values */
+ break;
+ }
if (allow_comma_sep)
{
switch (status)