mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-22 09:37:04 +00:00
[core] don't decode strings with no encoding in them
This commit is contained in:
parent
f3f757072d
commit
735637fa4d
@ -3508,7 +3508,7 @@ SWITCH_DECLARE(char *) switch_url_decode(char *s)
|
||||
char *o;
|
||||
unsigned int tmp;
|
||||
|
||||
if (zstr(s)) {
|
||||
if (zstr(s) || !strchr(s, '%')) {
|
||||
return s;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user