Open JavanXD opened 2 months ago
I found a related error log:
Logger: homeassistant.components.http.security_filter
Quelle: components/http/security_filter.py:65
Integration: HTTP (Dokumentation, Probleme)
Erstmals aufgetreten: 4. April 2024 um 23:48:58 (126 Vorkommnisse)
Zuletzt protokolliert: 00:02:26
Filtered a request with unsafe byte query string: /api/webrtc/ws?authSig=2ODE0NSwiZXhwIjoxNzEyMjY4MTc1fQ.NHLLu-CazKxsto3Heq-UmEQBzygi0UrqakhVmunHcyM&poster=%7B%25%20se%20%2Flocal%2Fimages443%2Fdoorbell.jpg%3F%7B%7B%20as_timestamp(now())%20%7D%7D%0A
Looks like the request is getting filtered by Homeassistants security module.
To fix this could you please base64 the poster field?
The URL of the poster is encoded to something like:
I defined the poster in the webrtc card:
Your code implies that Jinja2 templates are supported:
But adding "{%" does not work as well as executing above Jinja2 template.