diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-07 23:29:23 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-07 23:29:23 +0000 |
commit | 668a2312cfee80731de74477fcba427b00fddaa4 (patch) | |
tree | 9b43a648db76362192d572ed24b45081a46abedd /main/utils.c | |
parent | 35dbd8ee15986dcda2ed3d2528bb9717132a83ad (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.2@233612 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-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 f71c2db41..787bf568c 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; |