stable
Clone or download
Read-only
part of story #22687 distinguish projects with an icon Why: Json decode can fail, we should ensure that when it fail it won't break every pages we display project icon. How to reproduce: On my instance, the motorcycle can't be rendered, it seems that I am the only one with this issue, you can simulate a wrong emoji by replacing $stored_emoji in EmojiCodepointConverter::convertStoredEmojiFormatToEmojiFormat with a random non emoji value Change-Id: I1ba34a438adcde9dc19d871196bd9f6770188bee
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/Icons/EmojiCodepointConverter.php | +5 | −1 | Go to diff View file |
M | tests/unit/common/Project/Icon/EmojiCodepointConverterTest.php | +5 | −0 | Go to diff View file |