Max file size ignores KB/MB suffix

Created on 13 July 2017, over 7 years ago
Updated 14 November 2023, about 1 year ago

On /admin/config/media/file-settings, Maximum Upload Size description says "Enter a value like "512" (bytes), "80 KB" (kilobytes) or "50 MB" (megabytes) in order to restrict the allowed file size."

So I tried entering in 1 MB or 1 KB, but it saves it as 1 byte.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Jody Lynn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024