stevenarella/src/screen
ice_iix 64fc29796d server_list: fix pre-1.13 favicon data, #353 (#354)
The server list ping response contains a base64-encoded favicon image,
which in pre-1.13 servers can have embedded newlines:
https://wiki.vg/Server_List_Ping#Response

> The favicon should be a PNG image that is Base64 encoded (without
> newlines: \n, new lines no longer work since 1.13) and prepended
> with data:image/png;base64,.

If this was the case, base64 decode would fail with a DecodeError,
similar to Invalid byte (76, 10). We now strip the whitespace, so the
base64 favicon can be decoded properly.
2020-07-03 16:07:36 -07:00
..
connecting.rs Reformat all source with cargo fmt (#335) 2020-06-21 12:17:24 -07:00
edit_server.rs Reformat all source with cargo fmt (#335) 2020-06-21 12:17:24 -07:00
login.rs Fix redundant field names in struct initialization (redundant_field_names) 2020-06-29 18:07:12 -07:00
mod.rs Reformat all source with cargo fmt (#335) 2020-06-21 12:17:24 -07:00
server_list.rs server_list: fix pre-1.13 favicon data, #353 (#354) 2020-07-03 16:07:36 -07:00
settings_menu.rs Fix redundant field names in struct initialization (redundant_field_names) 2020-06-29 18:07:12 -07:00