FSCORE-605
This commit is contained in:
parent
701385d221
commit
b5cc1a6626
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue