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

Setting any stream metadata field to - invalidates json in status-json.xsl #34

Closed kid-c-plus closed 4 years ago

kid-c-plus commented 4 years ago

As title. When I set any field in the stream info to a single -, the data displays properly on the status.xsl page, but the dash is not placed in quotes in the status-json.xsl page and the resulting data cannot be parsed. Screen Shot 2020-04-29 at 11 53 51 AM

hairmare commented 4 years ago

It looks like this bug was fixed in v2.5.0-beta.2 with https://github.com/xiph/Icecast-Server/commit/56bbc0d12cbead128919031e26ea661e8c0b8874.

kid-c-plus commented 4 years ago

must've missed that, thanks!