FS-7205 #comment do not url encode unless an at sign is in the uri #resolve
This commit is contained in:
parent
6530fac5fd
commit
e5a711af24
|
@ -4254,6 +4254,10 @@ static int protect_dest_uri(switch_caller_profile_t *cp)
|
||||||
switch_size_t enclen = 0;
|
switch_size_t enclen = 0;
|
||||||
int mod = 0;
|
int mod = 0;
|
||||||
|
|
||||||
|
if (!(e = strchr(p, '@'))) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
while((p = strchr(p, '/'))) {
|
while((p = strchr(p, '/'))) {
|
||||||
q = p++;
|
q = p++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue