diff --git a/ChangeLog b/ChangeLog index f94a374b43f..f0f39c51712 100644 --- a/ChangeLog +++ b/ChangeLog @@ -94,6 +94,7 @@ phpMyAdmin - ChangeLog - issue #19125 Fixed CodeMirror tooltip is below modals - issue #18674 Fix formatted sql in browse table result has a linebreak after each token - issue #18210 Fixed add replica replication user on MariaDB doesn't work (SQL syntax) +- issue #19041 Fix footer.twig gets printed to Binary File Download 5.2.1 (2023-02-07) - issue #17522 Fix case where the routes cache file is invalid diff --git a/src/Controllers/Transformation/WrapperController.php b/src/Controllers/Transformation/WrapperController.php index e9b9b0d4792..01e26f31974 100644 --- a/src/Controllers/Transformation/WrapperController.php +++ b/src/Controllers/Transformation/WrapperController.php @@ -107,6 +107,8 @@ public function __invoke(ServerRequest $request): Response|null } } + // Disabling standard response, we are sending binary here + $this->response->disable(); $this->response->getHeader()->sendHttpHeaders(); /** @psalm-suppress MixedAssignment */