stevenarella/src
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
..
console Add missing default implementations (new_without_default) 2020-06-29 18:42:07 -07:00
ecs Use add(x) instead of offset(x as isize), fixes ptr_offset_with_cast 2020-06-30 18:56:08 -07:00
entity Use += to fix assign_op_pattern 2020-06-30 19:03:59 -07:00
gl Change set_float_multi_raw to unsafe because it dereferences a raw pointer argument (not_unsafe_ptr_arg_deref); fix typo 2020-07-02 16:51:50 -07:00
model Use unwrap_or_else to fix two or_fun_call and suppress one 2020-06-30 19:09:15 -07:00
render Suppress type_complexity, would not be clarified by using a type definition 2020-07-02 17:49:04 -07:00
screen server_list: fix pre-1.13 favicon data, #353 (#354) 2020-07-03 16:07:36 -07:00
server Use into_*(self) convention, fixes wrong_self_convention 2020-07-02 17:51:51 -07:00
ui Fix unnecessary use of match with if let (single_match) 2020-07-02 17:22:24 -07:00
world Allow verbose bit mask because this is in a performance-critical path, tick(), and it is faster on Intel according to https://rust-lang.github.io/rust-clippy/master/index.html#verbose_bit_mask 2020-07-02 18:11:52 -07:00
auth.rs Update to use crate:: for current crate, for Rust 2018 edition 2018-11-04 12:06:00 -08:00
chunk_builder.rs Fix redundant clones 2020-06-29 18:48:07 -07:00
main.rs Use if let pattern match to fix unnecessary_wrap 2020-07-02 17:14:49 -07:00
resources.rs Use more descriptive name to fix blacklisted_name 'bar' (as in foobar) 2020-07-02 17:17:51 -07:00
settings.rs Reformat all source with cargo fmt (#335) 2020-06-21 12:17:24 -07:00