* Fix XSS by parsing player counts as raw data (instead of parsing it)
* Ensure the returned favicon is a data URI
* Force server favicon size to 64px
* Increase specificity of data URI validation
The previous commit would happily accept any domain (or subdomain) that started with "data"
The Minetrack daemon will send a different protocol version each time
it pings a server. If a server responds with the same protocol version,
it is assumed that the version is supported, and it is shown on the
page above the server's player count.
The list of versions to be tried is stored in config.json.
At the moment, 4 versions are checked:
- 4 (Minecraft 1.7.2)
- 5 (Minecraft 1.7.10)
- 47 (Minecraft 1.8)
- 107 (Minecraft 1.9)