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

Improve the error message with corrupted zip. #202

Merged
merged 1 commit into from Feb 19, 2015

Conversation

Projects
None yet
2 participants
@dduponchel
Copy link
Collaborator

dduponchel commented Feb 18, 2015

Check if the content is a truncated zip or complete garbage.

A "LOCAL_FILE_HEADER" is not required at the beginning (auto extractible zip
for example) but it can give a good hint. If an ajax request was used without
responseType, we will also get unreadable data.

Fix #182.

Improve the error message with corrupted zip.
Check if the content is a truncated zip or complete garbage.

A "LOCAL_FILE_HEADER" is not required at the beginning (auto extractible zip
for example) but it can give a good hint. If an ajax request was used without
responseType, we will also get unreadable data.

Fix #182.

Stuk added a commit that referenced this pull request Feb 19, 2015

Merge pull request #202 from dduponchel/feature-error-message
Improve the error message with corrupted zip.

@Stuk Stuk merged commit bcbfe4a into Stuk:master Feb 19, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@dduponchel dduponchel referenced this pull request Mar 10, 2015

Merged

Release v2.5.0 #206

@dduponchel dduponchel deleted the dduponchel:feature-error-message branch Mar 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment