mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 23:51:10 +00:00
FSCORE-316
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12366 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
6aca60f545
commit
598854328d
1 file changed
+1
-1
+1
-1
@@ -1475,7 +1475,7 @@ SWITCH_DECLARE(size_t) switch_url_encode(const char *url, char *buf, size_t len)
|
||||
break;
|
||||
}
|
||||
if (*p < ' ' || *p > '~' || strchr(urlunsafe, *p)) {
|
||||
if ((x + 3) >= len) {
|
||||
if ((x + 3) > len) {
|
||||
break;
|
||||
}
|
||||
buf[x++] = '%';
|
||||
|
||||
Reference in new issue
Block a user