Skip to content

v3.5.2

Choose a tag to compare

@hondilla hondilla released this 28 Oct 09:41
· 16 commits to master since this release

Patch release on top of v3.5.1. No API change.

  • StaticTexts::getOneStaticText() no longer prints database errors into the page. It caught QueryException with dump($e), which rendered the whole exception (stack trace, database user, internal host and SQL) in the public HTML regardless of APP_DEBUG. The exception now goes to the application's exception handler through report(), and the method still returns error_database.

Verified in a Laravel 13 / PHP 8.5.12 consumer: with the static text insert denied, the VarDumper handler is never called and the QueryException is reported. Lint clean on PHP 8.5.