1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00
Commit Graph

4 Commits

Author SHA1 Message Date
Thomas B. Ruecker
0b1ac3e9d5 Essential part of upstream pull req No. 20
https://github.com/doekman/xml2json-xslt/pull/20

 Some numeric values would not get formatted to valid JSON. This
 incorporates the suggestions from issue #15.

Also fixed whitespace of original patch.
Additional fix for related issue will follow.
2015-05-25 12:56:45 +00:00
Thomas B. "dm8tbr" Ruecker
08a6345b22 Set content-type to official "application/json"
svn path=/icecast/trunk/icecast/; revision=19112
2014-03-09 13:02:35 +00:00
Thomas B. "dm8tbr" Ruecker
ddf3f17189 Silence direct calls, add partial array support.
- The XSLT will now return empty if called directly.
  This is a security measure to prevent unintended data leakage.
- Adding partial array support to print sources in an array. 
  Code lifted from: 
  https://code.google.com/p/xml2json-xslt/issues/detail?id=3

svn path=/icecast/trunk/icecast/; revision=19109
2014-03-09 12:26:15 +00:00
Thomas B. "dm8tbr" Ruecker
71fb336792 Adding xml2json XSLT, svn r31 upstream trunk.
https://code.google.com/p/xml2json-xslt/

svn path=/icecast/trunk/icecast/; revision=19108
2014-03-09 12:19:35 +00:00