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