don't crash on malformed avatar and banner values #506

Merged
floatingghost merged 1 commit from flisk/akkoma:fix-crash-malformed-avatars-banners into develop 2023-03-13 00:28:17 +00:00

1 commit

Author SHA1 Message Date
0c77be9308 don't crash on malformed avatar and banner values
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
weird values in href will cause base64 encoding to fail later down the
line, so let's make sure the value we're passing on is somewhat sane, or
at the very least a binary

this fixes #482
2023-03-12 18:14:05 +01:00