xiph / Icecast-Server

Icecast streaming media server (Mirror) - Please report bugs at https://gitlab.xiph.org/xiph/icecast-server/issues
https://icecast.org
GNU General Public License v2.0
476 stars 131 forks source link

status-json.xsl can return invalid JSON at startup #38

Closed FunctionDJ closed 3 years ago

FunctionDJ commented 4 years ago

The page may return this code right after starting Icecast: {"icestats":"server_start":"Sat, 03 Oct 2020 15:45:30 +0200","server_start_iso8601":"2020-10-03T15:45:30+0200","dummy":null}} (notice the double closing }) This is invalid JSON, and as i couldn't find a difference between 2.4.4 (which i'm using) and the latest version of the file in master i strongly assume this bug is present in all recent versions. Please correct me if i'm wrong.

FunctionDJ commented 3 years ago

I've opened this issue on their GitLab repository.