FS-11498 fix url cut off

This commit is contained in:
Seven Du
2018-11-02 09:31:05 +08:00
committed by Andrey Volk
parent 89c2dc04a0
commit cc66bcabfd
2 changed files with 112 additions and 1 deletions
+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;