From 4ef7a93dce5f527eb4d786cc5b214c8cbeed97fa Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 8 Jun 2020 23:49:59 +0200 Subject: [PATCH] Escape error message Because of the "Maybe you have characters before an opening getMessage()); } catch (Throwable $e) { // Last resort if the error has not been caught by the error handler for some reason. - die('Error when starting the app: ' . $e->getMessage()); + die('Error when starting the app: ' . htmlentities($e->getMessage())); }