mirror of https://github.com/arendst/Tasmota.git
Fix use HTML escape on File System Edit File load (#22492)
This commit is contained in:
parent
1e9c5ad40e
commit
bf872defab
|
@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file.
|
||||||
### Fixed
|
### Fixed
|
||||||
- ESP32 upgrade by file upload response based on file size (#22500)
|
- ESP32 upgrade by file upload response based on file size (#22500)
|
||||||
- Wrong GUI Module and Template drop down list indexes regression
|
- Wrong GUI Module and Template drop down list indexes regression
|
||||||
|
- Use HTML escape on File System Edit File load (#22492)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -166,6 +166,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- FUNC_COMMAND linked list command buffer corruption by shutter driver
|
- FUNC_COMMAND linked list command buffer corruption by shutter driver
|
||||||
|
- Use HTML escape on File System Edit File load [#22492](https://github.com/arendst/Tasmota/issues/22492)
|
||||||
- Prevent crashing when `display.ini` is missing end `#` [#22471](https://github.com/arendst/Tasmota/issues/22471)
|
- Prevent crashing when `display.ini` is missing end `#` [#22471](https://github.com/arendst/Tasmota/issues/22471)
|
||||||
- Alexa Hue with multiple devices [#22383](https://github.com/arendst/Tasmota/issues/22383)
|
- Alexa Hue with multiple devices [#22383](https://github.com/arendst/Tasmota/issues/22383)
|
||||||
- Mitsubishi Electric HVAC Standby Stage for MiElHVAC [#22430](https://github.com/arendst/Tasmota/issues/22430)
|
- Mitsubishi Electric HVAC Standby Stage for MiElHVAC [#22430](https://github.com/arendst/Tasmota/issues/22430)
|
||||||
|
|
|
@ -1603,7 +1603,7 @@ void UfsEditor(void) {
|
||||||
AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("UFS: UfsEditor: read=%d"), l);
|
AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("UFS: UfsEditor: read=%d"), l);
|
||||||
if (l < 0) { break; }
|
if (l < 0) { break; }
|
||||||
buf[l] = '\0';
|
buf[l] = '\0';
|
||||||
WSContentSend_P(PSTR("%s"), buf);
|
WSContentSend_P(PSTR("%s"), HtmlEscape((char*)buf).c_str());
|
||||||
filelen -= l;
|
filelen -= l;
|
||||||
}
|
}
|
||||||
fp.close();
|
fp.close();
|
||||||
|
|
Loading…
Reference in New Issue