Module: sip-router
Branch: 4.1
Commit: 0f3f76f23e8a32881a467dd9671d969617f0cb02
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0f3f76f…
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
(cherry picked from commit 11e9f93d3bad8cfedcd55bdc4fc6c559309c4635)
---
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)