aboutsummaryrefslogtreecommitdiffstats
path: root/main/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c2
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;