diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-16 22:20:45 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-16 22:20:45 +0000 |
commit | 52a1d0fdba2ecc3ccd8c64e148fb07a1e9002e85 (patch) | |
tree | 983dffbed2bd5e6e9acdfb150364888d3004c60a /main | |
parent | fce3b5359b681da8e4eacd4910a1c77857a4b92f (diff) |
New module res_config_curl (closes issue #11747)
Reported by: Corydon76
Patches:
res_config_curl.c uploaded by Corydon76 (license 14)
20080116__bug11747.diff.txt uploaded by Corydon76 (license 14)
Tested by: jmls
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98981 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-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 bf0a7b2ad..1b91781fa 100644 --- a/main/utils.c +++ b/main/utils.c @@ -451,7 +451,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 (((unsigned char) *ptr) > 127 || (doreserved && strchr(reserved, *ptr)) ) { + if ((*ptr < 32 || (unsigned char) *ptr) > 127 || (doreserved && strchr(reserved, *ptr)) ) { /* Oops, we need to start working here */ if (!buf) { buf = outbuf; |