mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-31 14:37:49 +00:00
parent
d77017fd74
commit
22b47fb89b
@ -2329,7 +2329,7 @@ String UrlEncode(const String& text)
|
|||||||
encoded += hex[decodedChar & 0xF];
|
encoded += hex[decodedChar & 0xF];
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
if (' ' == decodedChar) {
|
if ((' ' == decodedChar) || ('+' == decodedChar)) {
|
||||||
encoded += '%';
|
encoded += '%';
|
||||||
encoded += hex[decodedChar >> 4];
|
encoded += hex[decodedChar >> 4];
|
||||||
encoded += hex[decodedChar & 0xF];
|
encoded += hex[decodedChar & 0xF];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user