mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
[core] don't decode strings with no encoding in them
This commit is contained in:
1 parent
a7c3c95bef
commit
5111b6ef73
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user