- Affected version
- 2.1.10
Provide the maximum attachment file size in kilobytes (KB)
Those phrases do not seem to be correct.You should also provide the maximum video file size in kilobytes (KB).
According to the code in
\XF\Repository\Attachment::getDefaultAttachmentConstraints()
and \XF\Repository\Attachment ::applyVideoAttachmentConstraints()
the values entered for thoes options are multiplied by 1024 so entering 10000 does result in allowing files up to 10240000 bytes = 10000 kibibytes = 10240 kilobytes.
So either the phrasing should be changed or the code be modified to multiply by 1000 instead of 1024.
Byte - Wikipedia
en.wikipedia.org