[asterisk-commits] dvossel: branch 1.6.1 r233613 - in /branches/1.6.1: ./ main/utils.c

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


Author: dvossel
Date: Mon Dec  7 17:29:48 2009
New Revision: 233613

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=233613
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.1/   (props changed)
    branches/1.6.1/main/utils.c

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

Modified: branches/1.6.1/main/utils.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/main/utils.c?view=diff&rev=233613&r1=233612&r2=233613
==============================================================================
--- branches/1.6.1/main/utils.c (original)
+++ branches/1.6.1/main/utils.c Mon Dec  7 17:29:48 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