]> cat aescling's git repositories - mastodon.git/commit
Improve safety of Blurhash component (#14278)
authorSasha Sorokin <dafri.nochiterov8@gmail.com>
Thu, 9 Jul 2020 20:32:36 +0000 (03:32 +0700)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2020 20:32:36 +0000 (22:32 +0200)
commit3ef94c00444f2b72a6f68e0fd9cff1b3f783c555
tree5e6c5107f33c6b0420d63f392c75a1a9d296c8b7
parent6fda3cbbebfdc7b050f4437b996b2ad36c1db64c
Improve safety of Blurhash component (#14278)

There was a missed empty hash check. As well as rendering is now wrapped
in try/catch block, so app won't crash if any Blurhash component fails
to render its contents as it's not that critical.
app/javascript/mastodon/components/blurhash.js