Module: sip-router
Branch: 4.1
Commit: 493e54de188f3ee03dd0c8a21ebcc4dd32e0c36e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=493e54d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Feb 26 20:20:29 2014 +0100
parser/parse_addr_spec: comma allowd for start of tag value and mid tag value chars
(cherry picked from commit a9e900a3dd5c958f3188376c3c4d3179c68e2c32)
---
parser/parse_addr_spec.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/parser/parse_addr_spec.c b/parser/parse_addr_spec.c
index 9a8e3b3..80ad553 100644
--- a/parser/parse_addr_spec.c
+++ b/parser/parse_addr_spec.c
@@ -481,7 +481,8 @@ semicolon_add_param:
}
break;
} else {
- if(status==S_PARA_VALUE && param->type==TAG_PARAM) {
+ if((status==S_PARA_VALUE || status==PARA_VALUE_TOKEN)
+ && param->type==TAG_PARAM) {
/* if comma is not separator, allow it as part of value
* - some user agents use it */
break;