]> BookStack Code Mirror - bookstack/commit
Uploads: Added user-facing message for Laravel post limit handling
authorDan Brown <redacted>
Mon, 25 Sep 2023 12:48:23 +0000 (13:48 +0100)
committerDan Brown <redacted>
Mon, 25 Sep 2023 12:48:23 +0000 (13:48 +0100)
commit59da7666b5773a9b7063185d7585ed664d351062
treee48d7787a7944a9ae3f08f7de9f4420570cb6871
parent21badde4ef7e9f907059b9f3d61859c62a5bc734
Uploads: Added user-facing message for Laravel post limit handling

Uploads over the post max size Would previously error without a
clean user facing message. This catches that error to provide a
user friendly message, compatible with our common error handling.

Tested on image manager handling.
Added test to cover.
app/Exceptions/Handler.php
lang/en/errors.php
tests/ErrorTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.