From 28d6a18de4a9e4b52d293d9aded4b6bb851b1041 Mon Sep 17 00:00:00 2001 From: Oleksandr Piskun Date: Sat, 7 Nov 2026 18:51:34 +0000 Subject: [PATCH] fix: apply headers_to_exclude given in info.xml Signed-off-by: Oleksandr Piskun --- lib/Db/ExAppMapper.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Db/ExAppMapper.php b/lib/Db/ExAppMapper.php index 216662203..4a22c7ae0 100644 --- a/lib/Db/ExAppMapper.php +++ b/lib/Db/ExAppMapper.php @@ -202,6 +202,9 @@ public function registerExAppRoutes(ExApp $exApp, array $routes): int { if (isset($route['bruteforce_protection']) && is_string($route['bruteforce_protection'])) { $route['bruteforce_protection'] = json_decode($route['bruteforce_protection'], false); } + if (isset($route['headers_to_exclude']) && is_string($route['headers_to_exclude'])) { + $route['headers_to_exclude'] = json_decode($route['headers_to_exclude'], false); + } if (!isset($route['headers_to_exclude'])) { $route['headers_to_exclude'] = []; }