mirror of https://github.com/arendst/Tasmota.git
parent
d77017fd74
commit
22b47fb89b
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue