Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix call to header.
James Colee6f616880aed
diff --git a/app/Http/Middleware/SecureHeaders.php b/app/Http/Middleware/SecureHeaders.phpindex 48f94944de..7e798b5c21 100644--- a/app/Http/Middleware/SecureHeaders.php+++ b/app/Http/Middleware/SecureHeaders.php@@ -129,7 +129,7 @@ class SecureHeaders$response->header('Content-Security-Policy', implode('; ', $csp));}if (!method_exists($response, 'header')) {- $response->header('Content-Security-Policy', implode('; ', $csp));+ $response->headers->set('Content-Security-Policy', implode('; ', $csp));}}if (method_exists($response, 'header')) {diff --git a/changelog.md b/changelog.mdindex 63ae61f15d..454f653ca4 100644--- a/changelog.md+++ b/changelog.md@@ -8,7 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).<!-- summary: This releases upgrades many dependencies and will invalidate all of your OAuth-tokens and clients. -->> [!WARNING]-> This releases will invalidate ALL of your OAuth-tokens and clients. Sorry about that.+> This releases will invalidate ALL of your OAuth-tokens and clients. Integrations with Home Assistant, AI-agents or the Firefly III Data Importer must be reconfigured with newly generated tokens. Old tokens and clients will no longer work. Sorry about that.### Changed