diff --git a/BSB_LAN/BSB_LAN.ino b/BSB_LAN/BSB_LAN.ino index a1fd857f..5464f39d 100644 --- a/BSB_LAN/BSB_LAN.ino +++ b/BSB_LAN/BSB_LAN.ino @@ -5063,7 +5063,7 @@ void loop() { if (!strcmp(cLineBuffer, "/favicon.ico")) { printHTTPheader(HTTP_OK, MIME_TYPE_IMAGE_ICON, HTTP_DO_NOT_ADD_CHARSET_TO_HEADER, HTTP_FILE_NOT_GZIPPED, HTTP_NO_DOWNLOAD, HTTP_AUTO_CACHE_AGE); printToWebClient("\r\n"); - printPStr(favicon, sizeof(favicon)); + printPStr(favicon, 1+sizeof(favicon)); flushToWebClient(); break; } diff --git a/BSB_LAN/html_strings.h b/BSB_LAN/html_strings.h index 9e2cc077..6d912f2e 100644 --- a/BSB_LAN/html_strings.h +++ b/BSB_LAN/html_strings.h @@ -4,7 +4,8 @@ // *INDENT-OFF* const char svg_favicon[] = - "" NEWLINE "" NEWLINE "" NEWLINE - "" NEWLINE + "" NEWLINE // without this, most browsers will try to load /favicon.ico + // "" NEWLINE // not used by svg capable browser, anyway (?) "BSB-LAN" NEWLINE "