diff options
author | Alexandre Alapetite <alexandre@alapetite.fr> | 2025-01-16 14:18:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 14:18:34 +0100 |
commit | 2cc5621860d64e7109037f852932e0944a65b315 (patch) | |
tree | f0e71f685d6ef6c7f4ffbfdd222360774faa839c /app | |
parent | 79d3ef4b54c08a2464521e17d8663b9af77bb3a8 (diff) | |
download | freshrss-2cc5621860d64e7109037f852932e0944a65b315.tar.gz freshrss-2cc5621860d64e7109037f852932e0944a65b315.zip |
Ensure no PHP buffer for SQLite download (#7230)
* Ensure no PHP buffer for SQLite download
fix https://github.com/FreshRSS/FreshRSS/pull/6931#issuecomment-2567037406
* No warning if any case
Diffstat (limited to 'app')
-rw-r--r-- | app/views/importExport/sqlite.phtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/importExport/sqlite.phtml b/app/views/importExport/sqlite.phtml index 8c9adcab1..fb24e8a92 100644 --- a/app/views/importExport/sqlite.phtml +++ b/app/views/importExport/sqlite.phtml @@ -1,6 +1,7 @@ <?php declare(strict_types=1); /** @var FreshRSS_View $this */ +@ob_end_clean(); // Ensure no buffer header('Content-Type: application/vnd.sqlite3'); header('Content-Disposition: attachment; filename="' . basename($this->sqlitePath) . '"'); header('Cache-Control: private, no-store, max-age=0'); |