and note that parsing the QUERY_STRING like this is a security risk. Thus, please adapt to the latest versions of update-check.cgi which is used in other CCU addon projects.
See here for the complete change history of update-check.cgi in the hm_pdetect addon project:
Please compare the following
https://github.com/PhilippEngler/eufy-security-hm/blob/d449d3532690ce32a46fe0db10d6f61153285aec/addon/eufySecurity/www/update-check.cgi#L10
with
https://github.com/homematic-community/hm_pdetect/blob/master/addon/www/update-check.cgi#L10
and note that parsing the
QUERY_STRING
like this is a security risk. Thus, please adapt to the latest versions ofupdate-check.cgi
which is used in other CCU addon projects.See here for the complete change history of
update-check.cgi
in thehm_pdetect
addon project:https://github.com/homematic-community/hm_pdetect/commit/d6f42617cfacb3e9ceac09a2a642e1c3e4dc87ad