Block encoded thumbnail URLs ('data:image')

These only work in the `selectThumbnail` component. If it's small enough, it'll get past the transaction limit-check, but ultimately it doesn't appear correctly in the claim list.

It'll probably appear correctly if we tweak the ClaimPreview code, but since this also fails the Google Video metadata test, I think we should disallow this.

## Issue
5923
This commit is contained in:
infinite-persistence 2021-04-21 11:32:54 +08:00 committed by Sean Yesmunt
parent 364db9dafa
commit 955f5ac0df

View file

@ -35,7 +35,7 @@ class SelectThumbnail extends React.PureComponent<Props> {
updatePublishForm({
thumbnail: newThumbnail,
thumbnailError: false,
thumbnailError: newThumbnail.startsWith('data:image'),
});
}