mirror of
https://github.com/esphome/esphome.git
synced 2026-02-20 00:15:36 -07:00
a40c87eeedc85414e8023aceb5a37cd46788a318
Replace string-based path sanitization (.replace/.lstrip) with Path.resolve() and relative_to() validation, matching the pattern used by other dashboard endpoints (e.g. settings.rel_path). The previous approach was not exploitable but was inconsistent with the rest of the codebase.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
376 MiB
Languages
C++
64.2%
Python
35.5%
C
0.2%
