mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
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…
x
Reference in New Issue
Block a user