Skip to content

Commit

Permalink
Header Host is now collected by Webserver (#20446)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger committed Jan 9, 2024
1 parent 52dd206 commit 8712aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.

### Changed
- Renamed button "Consoles" to "Tools"
- Header `Host` is now collected by Webserver

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void StartWebserver(int type)
if (!Webserver) {
Webserver = new ESP8266WebServer((HTTP_MANAGER == type || HTTP_MANAGER_RESET_ONLY == type) ? 80 : WEB_PORT);

const char* headerkeys[] = { "Referer" };
const char* headerkeys[] = { "Referer", "Host" };
size_t headerkeyssize = sizeof(headerkeys) / sizeof(char*);
Webserver->collectHeaders(headerkeys, headerkeyssize);

Expand Down

0 comments on commit 8712aba

Please sign in to comment.