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

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

Merged
merged 1 commit into from Oct 11, 2018

Conversation

Projects
None yet
1 participant
@stevecoug
Owner

stevecoug commented Oct 11, 2018

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
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.

@stevecoug stevecoug merged commit 200bc86 into develop Oct 11, 2018

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