FS-11498 fix url cut off

This commit is contained in:
Seven Du authored and Andrey Volk committed 2019-07-16 22:26:32 +04:00
1 parent 89c2dc04a0
commit cc66bcabfd
2 files changed
+112 -1

No files matched your search

+1 -1
View File
@@ -4626,7 +4626,7 @@ static int protect_dest_uri(switch_caller_profile_t *cp)
*e++ = '\0';
if (switch_needs_url_encode(q)) {
enclen = (strlen(q) * 2) + 2;
enclen = (strlen(q) * 3) + 2;
qenc = switch_core_alloc(cp->pool, enclen);
switch_url_encode(q, qenc, enclen);
mod = 1;