mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
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;
|
||||
int mod = 0;
|
||||
|
||||
if (!(e = strchr(p, '@'))) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
while((p = strchr(p, '/'))) {
|
||||
q = p++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user