{"action":"created","issue":{"url":"https://api.github.com/repos/xiph/Icecast-Server/issues/3","labels_url":"https://api.github.com/repos/xiph/Icecast-Server/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/xiph/Icecast-Server/issues/3/comments","events_url":"https://api.github.com/repos/xiph/Icecast-Server/issues/3/events","html_url":"https://github.com/xiph/Icecast-Server/issues/3","id":128747057,"number":3,"title":"Invalid XML supplied by Icecast statistics","user":{"login":"kenrestivo","id":108085,"avatar_url":"https://avatars.githubusercontent.com/u/108085?v=3","gravatar_id":"","url":"https://api.github.com/users/kenrestivo","html_url":"https://github.com/kenrestivo","followers_url":"https://api.github.com/users/kenrestivo/followers","following_url":"https://api.github.com/users/kenrestivo/following{/other_user}","gists_url":"https://api.github.com/users/kenrestivo/gists{/gist_id}","starred_url":"https://api.github.com/users/kenrestivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenrestivo/subscriptions","organizations_url":"https://api.github.com/users/kenrestivo/orgs","repos_url":"https://api.github.com/users/kenrestivo/repos","events_url":"https://api.github.com/users/kenrestivo/events{/privacy}","received_events_url":"https://api.github.com/users/kenrestivo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-26T07:33:59Z","updated_at":"2016-01-26T07:36:36Z","closed_at":null,"body":"Icecast version  2.3.3-2ubuntu1.14.04.1   , when reporting statistics via API calls to http://%s:%d/admin/stats.xml, returns this invalid XML:\r\n\r\n```xml\r\n<icestats><source mount=\"/radio\"><Listeners>1</Listeners><listener><IP>23.2.9.2</IP><UserAgent>Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12F70 [FBAN/FBIOS;FBAV/46.0.0.54.156;FBBV/18972819;FBDV/iPhone5,3;FBMD/iPhone;FBSN/iPhone OS;FBSV/8.3;FBSS/2; FBCR/AT&T;FBID/phone;FBLC/en_US;FBOP/5]</UserAgent><Connected>0</Connected><ID>2634887</ID></listener></source></icestats>\r\n```\r\n\r\nNote the unescaped &T; which is an undefined XML entity \"T\", and causes parsers to explode.\r\n\r\nExpected behavior: text inside blocks should be html escaped or enclosed in a CDATA block, if I remember my XML correctly."},"comment":{"url":"https://api.github.com/repos/xiph/Icecast-Server/issues/comments/174874334","html_url":"https://github.com/xiph/Icecast-Server/issues/3#issuecomment-174874334","issue_url":"https://api.github.com/repos/xiph/Icecast-Server/issues/3","id":174874334,"user":{"login":"dm8tbr","id":2073288,"avatar_url":"https://avatars.githubusercontent.com/u/2073288?v=3","gravatar_id":"","url":"https://api.github.com/users/dm8tbr","html_url":"https://github.com/dm8tbr","followers_url":"https://api.github.com/users/dm8tbr/followers","following_url":"https://api.github.com/users/dm8tbr/following{/other_user}","gists_url":"https://api.github.com/users/dm8tbr/gists{/gist_id}","starred_url":"https://api.github.com/users/dm8tbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dm8tbr/subscriptions","organizations_url":"https://api.github.com/users/dm8tbr/orgs","repos_url":"https://api.github.com/users/dm8tbr/repos","events_url":"https://api.github.com/users/dm8tbr/events{/privacy}","received_events_url":"https://api.github.com/users/dm8tbr/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T07:36:36Z","updated_at":"2016-01-26T07:36:36Z","body":"Please verify on latest Icecast. A lot has changed since 2.3.3.\r\nhttps://wiki.xiph.org/Icecast_Server/Installing_latest_version_%28official_Xiph_repositories%29"}}