mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
FS-7205 #comment do not url encode unless an at sign is in the uri #resolve
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user