mirror of
https://github.com/esphome/esphome.git
synced 2026-03-01 02:14:19 -07:00
2829f7b4859181c91016e4a757bb8ea23396f075
Wrap base64 decode and split in try/except so malformed Authorization headers return a clean 401 instead of an unhandled exception producing a 500 response with stack trace in logs. Catches ValueError (covers binascii.Error from b64decode) and UnicodeDecodeError (from .decode()).
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
524 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
