FS-7205 #comment do not url encode unless an at sign is in the uri #resolve

This commit is contained in:
Brian West 2015-01-27 14:35:18 -06:00
parent 6530fac5fd
commit e5a711af24
1 changed files with 4 additions and 0 deletions

View File

@ -4254,6 +4254,10 @@ static int protect_dest_uri(switch_caller_profile_t *cp)
switch_size_t enclen = 0;
int mod = 0;
if (!(e = strchr(p, '@'))) {
return 0;
}
while((p = strchr(p, '/'))) {
q = p++;
}