Unit for Maximum Attachment Size - KiB or kB

Added by @ go2null over 5 years ago

Wiki also references Wikipedia article on Binary prefixes.

Which is correct?

Replies (4)

RE: Unit for Maximum Attachment Size - KiB or kB - Added by Etienne Massip over 5 years ago

Actually, test is done at upload by interpreting the setting value in kilobytes.

It looks like the Guide is right and a Defect should be open to revert #6740.

RE: Unit for Maximum Attachment Size - KiB or kB - Added by @ go2null over 5 years ago

Should I open a new issue, or re-open #6740?

RE: Unit for Maximum Attachment Size - KiB or kB - Added by Mischa The Evil over 5 years ago

James R wrote:

Should I open a new issue, or re-open #6740?

See #11118.

RE: Unit for Maximum Attachment Size - KiB or kB - Added by @ go2null over 5 years ago

Read #11118, and it seems that based on setting to KB that the units are decimal (1000) based.

(However, looking at r9782 without knowing Ruby/Rails is non-intuitive as 257024 = 1024 * 251, so suggest that the actual calculation is still 1024-based?)

(1-4/4)