Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upload failure with github (#3588) #3589

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

left0ver
Copy link

@left0ver left0ver commented Mar 6, 2023

Q A
Bug fix? yes
New feature? no
Breaking changes? no
Deprecations? no
New tests added? not
Fixed tickets Fixes #3588
License MIT

Description

when you use github as your uploader , if you paste a image and upload to github , it will appear error (HttpError: content is not valid Base64) , because the api readAsDataURL will return a base64 with some prefix like 'data:image/png;base64,' and the prefix isn't need

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

can't upload image in using github uploader,appear HttpError: content is not valid Base64
1 participant