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

Changed mb_strlen() to strlen() for file size calculation #16

Merged
merged 2 commits into from
Dec 29, 2018

Conversation

stevecoug
Copy link
Contributor

The file size was being calculated using multibyte characters rather than bytes, which resulted in rejected uploads due to a hash mismatch.

The file size was being calculated incorrectly, since it was done in multibyte characters instead of bytes. This resulted in B2 rejecting uploads due to a hash mismatch.
Changed mb_strlen() to strlen() for file size calculation
@tarikozket
Copy link

@mhetreramesh any reason you don't merge this PR in?

@mhetreramesh mhetreramesh merged commit 46c1055 into gliterd:develop Dec 29, 2018
# 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.

3 participants