[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…
Reference in New Issue