Fix sending "+" with websend

Fix sending "+" with websend (#6094)
This commit is contained in:
Theo Arends 2019-07-14 22:25:13 +02:00
parent d77017fd74
commit 22b47fb89b
1 changed files with 1 additions and 1 deletions

View File

@ -2329,7 +2329,7 @@ String UrlEncode(const String& text)
encoded += hex[decodedChar & 0xF];
}
*/
if (' ' == decodedChar) {
if ((' ' == decodedChar) || ('+' == decodedChar)) {
encoded += '%';
encoded += hex[decodedChar >> 4];
encoded += hex[decodedChar & 0xF];