Introduce upload limit .env option #2471

Closed
opened 2026-02-05 04:15:23 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @ssddanbrown on GitHub (Nov 1, 2021).

Describe the feature you'd like

Introduce a new .env option to define a limit for file upload size.

This is already commonly enforced at a webserver and often PHP level but we should allow this to be configured at an app level.

This should replace and automatically define the existing JavaScript upload limit option:
https://www.bookstackapp.com/docs/admin/upload-config/#file-upload-limit

Will need to communicate this change as it would likely affect existing instances.

Need to think of a sensible default to enforce.

Originally created by @ssddanbrown on GitHub (Nov 1, 2021). ### Describe the feature you'd like Introduce a new `.env` option to define a limit for file upload size. This is already commonly enforced at a webserver and often PHP level but we should allow this to be configured at an app level. This should replace and automatically define the existing JavaScript upload limit option: https://www.bookstackapp.com/docs/admin/upload-config/#file-upload-limit Will need to communicate this change as it would likely affect existing instances. Need to think of a sensible default to enforce.
OVERLORD added the 🔨 Feature Request📖 Docs Update🔒 Security🏭 Back-End labels 2026-02-05 04:15:23 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2471