File tree 1 file changed +2
-2
lines changed
libraries/ESP8266WebServer/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
91
91
String searchStr = " " ;
92
92
int hasSearch = url.indexOf (' ?' );
93
93
if (hasSearch != -1 ){
94
- searchStr = urlDecode ( url.substring (hasSearch + 1 ) );
94
+ searchStr = url.substring (hasSearch + 1 );
95
95
url = url.substring (0 , hasSearch);
96
96
}
97
97
_currentUri = url;
@@ -318,7 +318,7 @@ void ESP8266WebServer::_parseArguments(String data) {
318
318
}
319
319
RequestArgument& arg = _currentArgs[iarg];
320
320
arg.key = data.substring (pos, equal_sign_index);
321
- arg.value = data.substring (equal_sign_index + 1 , next_arg_index);
321
+ arg.value = urlDecode ( data.substring (equal_sign_index + 1 , next_arg_index) );
322
322
#ifdef DEBUG_ESP_HTTP_SERVER
323
323
DEBUG_OUTPUT.print (" arg " );
324
324
DEBUG_OUTPUT.print (iarg);
You can’t perform that action at this time.
0 commit comments