Module: sip-router
Branch: 3.3
Commit: 08b5506618b1b4e590c55e89eea7bd2f0abcd796
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=08b5506…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Feb 25 13:03:34 2013 +0100
siputils: fix decode2format fuction to handle ; in userpart
- backported from ff22a1cbc2b817d63611b3da967d8245e11cb84c
---
modules_k/siputils/contact_ops.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules_k/siputils/contact_ops.c b/modules_k/siputils/contact_ops.c
index 73a2f8b..b238993 100644
--- a/modules_k/siputils/contact_ops.c
+++ b/modules_k/siputils/contact_ops.c
@@ -530,12 +530,6 @@ decode2format (str uri, char separator, struct uri_format *format)
lastpos = pos+1;
}
- else
- if (((*pos) == '>')||(*pos == ';'))
- {
- /* invalid chars inside username part */
- return -5;
- }
}