Module: sip-router
Branch: master
Commit: ff22a1cbc2b817d63611b3da967d8245e11cb84c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ff22a1c…
Author: Richard Brady <rnbrady(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 22 12:19:53 2013 +0100
siputils: fix decode2format fuction to handle ; in userpart
---
modules/siputils/contact_ops.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules/siputils/contact_ops.c b/modules/siputils/contact_ops.c
index 73a2f8b..b238993 100644
--- a/modules/siputils/contact_ops.c
+++ b/modules/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;
- }
}