Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(core/web): avoid appendFile/writeFile to overwrite existing directory entry #1782

Merged

Conversation

27pchrisl
Copy link
Contributor

This fix corrects a problem where an appendFile/writeFile could corrupt a directory entry if given a directory entry path.

@27pchrisl
Copy link
Contributor Author

Not sure why that test failed - seems to be a problem in S3?

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.

Thanks, looks good, restarted the tests and passed this time.

@jcesarmobile jcesarmobile changed the title fix(pwa): Fix where appendFile/writeFile could overwrite a directory entry fix(core/web): Fix where appendFile/writeFile could overwrite a directory entry Jul 22, 2019
@jcesarmobile jcesarmobile changed the title fix(core/web): Fix where appendFile/writeFile could overwrite a directory entry fix(core/web): avoid appendFile/writeFile to overwrite existing directory entry Jul 22, 2019
@jcesarmobile jcesarmobile merged commit ad1a4e4 into ionic-team:master Jul 22, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants