mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-21 21:22:31 +03:00
Merge branch 'master' into master
This commit is contained in:
@ -93,7 +93,7 @@ bool ESP8266WebServer::authenticate(const char * username, const char * password
|
|||||||
authReq = authReq.substring(6);
|
authReq = authReq.substring(6);
|
||||||
authReq.trim();
|
authReq.trim();
|
||||||
char toencodeLen = strlen(username)+strlen(password)+1;
|
char toencodeLen = strlen(username)+strlen(password)+1;
|
||||||
char *toencode = new char[toencodeLen];
|
char *toencode = new char[toencodeLen + 1];
|
||||||
if(toencode == NULL){
|
if(toencode == NULL){
|
||||||
authReq = String();
|
authReq = String();
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user