diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-07 23:30:14 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-07 23:30:14 +0000 |
commit | 295da8176fbb3bc47fe8cb215db1afd08d637172 (patch) | |
tree | c656c3c257bd0fc7eb10ac3b01e74efaef17ae7e | |
parent | 77d0a1b8a84ae73bcb17eb4434e498d72ae82019 (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.0@233614 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c index f55fe4271..9c92af6d7 100644 --- a/main/utils.c +++ b/main/utils.c @@ -389,7 +389,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; |