[svn-commits] trunk r33376 - /trunk/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Jun 9 14:32:49 MST 2006


Author: oej
Date: Fri Jun  9 16:32:48 2006
New Revision: 33376

URL: http://svn.digium.com/view/asterisk?rev=33376&view=rev
Log:
Issue #7325 - Parse string after URI decoding (casper)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=33376&r1=33375&r2=33376&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Jun  9 16:32:48 2006
@@ -7325,10 +7325,11 @@
 	/* Find the request URI */
 	if (req->rlPart2)
 		ast_copy_string(tmp, req->rlPart2, sizeof(tmp));
-	uri = get_in_brackets(tmp);
 	
 	if (pedanticsipchecking)
 		ast_uri_decode(tmp);
+
+	uri = get_in_brackets(tmp);
 
 	if (strncmp(uri, "sip:", 4)) {
 		ast_log(LOG_WARNING, "Huh?  Not a SIP header (%s)?\n", uri);



More information about the svn-commits mailing list