aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 23:29:48 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 23:29:48 +0000
commit01e09f90de1226d901557fc2b052b7d5bf32f9a5 (patch)
tree18fa62e2a57562a533d9cd1e7c0dcdf5f5e6d6d4 /main
parent5dc308ad008b7a4ec70d5decaf0df10a61aa6bb3 (diff)
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 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@233613 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c
index 66873646e..6204423f7 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -392,7 +392,7 @@ char *ast_uri_encode(const char *string, char *outbuf, int buflen, int doreserve
/* 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;