FSCORE-605

This commit is contained in:
Brian West 2010-05-06 17:36:13 -05:00
parent 701385d221
commit b5cc1a6626
1 changed files with 1 additions and 1 deletions

View File

@ -2032,7 +2032,7 @@ SWITCH_DECLARE(char *) switch_url_encode(const char *url, char *buf, size_t len)
break; break;
} }
buf[x++] = '%'; buf[x++] = '%';
buf[x++] = hex[*p >> 4]; buf[x++] = hex[(*p >> 4) & 0x0f];
buf[x++] = hex[*p & 0x0f]; buf[x++] = hex[*p & 0x0f];
} else { } else {
buf[x++] = *p; buf[x++] = *p;