[asterisk-commits] dvossel: branch 1.6.2 r233612 - in /branches/1.6.2: ./ main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 7 17:29:27 CST 2009


Author: dvossel
Date: Mon Dec  7 17:29:23 2009
New Revision: 233612

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=233612
Log:
Merged revisions 233611 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233611 | dvossel | 2009-12-07 17:28:51 -0600 (Mon, 07 Dec 2009) | 4 lines
  
  fixes incorrect logic in ast_uri_encode
  
  issue #16299
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/utils.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/main/utils.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/utils.c?view=diff&rev=233612&r1=233611&r2=233612
==============================================================================
--- branches/1.6.2/main/utils.c (original)
+++ branches/1.6.2/main/utils.c Mon Dec  7 17:29:23 2009
@@ -392,7 +392,7 @@
 
 	/* If there's no characters to convert, just go through and don't do anything */
 	while (*ptr) {
-		if ((*ptr < 32 || (unsigned char) *ptr) > 127 || (doreserved && strchr(reserved, *ptr)) ) {
+		if ((*ptr < 32) || (doreserved && strchr(reserved, *ptr))) {
 			/* Oops, we need to start working here */
 			if (!buf) {
 				buf = outbuf;




More information about the asterisk-commits mailing list