diff --git a/sonoff/xdrv_01_webserver.ino b/sonoff/xdrv_01_webserver.ino index 23f600525..b445342ff 100644 --- a/sonoff/xdrv_01_webserver.ino +++ b/sonoff/xdrv_01_webserver.ino @@ -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];