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(core): remove data url header on writeFile if no encoding is passed #1909

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

D34THWINGS
Copy link
Contributor

As stated here, the web bridge slightly behaves differently than iOS and Android one: It does not remove the data url header when using base64 encoding (no encoding given). This PR aims to fix this.

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@jcesarmobile jcesarmobile changed the title Fix writeFile for Web Filesystem fix(core): remove data url header on writeFile if no encoding is passed Sep 24, 2019
@jcesarmobile jcesarmobile merged commit 6a4de97 into ionic-team:master Sep 24, 2019
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.

2 participants