Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

DropZone.php calculates max file size in MiB wrong #7633

Closed
fritzmg opened this issue Feb 10, 2015 · 1 comment
Closed

DropZone.php calculates max file size in MiB wrong #7633

fritzmg opened this issue Feb 10, 2015 · 1 comment
Labels
Milestone

Comments

@fritzmg
Copy link
Contributor

fritzmg commented Feb 10, 2015

Minor issue in DropZone.php #29: $intMaxSize, which is supposed to represent the maximum upload size in MiB, is calculated wrong. Instead of dividing the value returned by $this->getMaximumUploadSize() (the maximum upload size in bytes) by 1048576, it is divided by 1024000.

FileUpload.php::getMaximumUploadSize() calculates the maximum upload size in bytes in the correct way.

@leofeyer leofeyer added this to the 3.2.20 milestone Feb 18, 2015
@leofeyer leofeyer modified the milestones: 3.4.5, 3.2.20 Mar 18, 2015
@leofeyer
Copy link
Member

Fixed in a6a7d56.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants