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

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

Merged
merged 2 commits into from Dec 29, 2018

Commits on Oct 11, 2018

  1. 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 committed Oct 11, 2018
    Copy the full SHA
    7d0233f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from stevecoug/file-size-calculation

    Changed mb_strlen() to strlen() for file size calculation
    stevecoug committed Oct 11, 2018
    Copy the full SHA
    200bc86 View commit details
    Browse the repository at this point in the history