From 33a14932c4618c68deb919abc2ba8afedbfc0b59 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 4 Jan 2023 12:38:44 -0800 Subject: [PATCH] Fix header title on public share (fix #323) --- lib/Controller/PublicController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Controller/PublicController.php b/lib/Controller/PublicController.php index 08526409..764a028c 100644 --- a/lib/Controller/PublicController.php +++ b/lib/Controller/PublicController.php @@ -129,6 +129,8 @@ class PublicController extends AuthPublicShareController $policy->addAllowedFrameDomain('www.openstreetmap.org'); $response = new PublicTemplateResponse($this->appName, 'main'); + $response->setHeaderTitle($share->getNode()->getName()); + $response->setFooterVisible(false); // wth is that anyway? $response->setContentSecurityPolicy($policy); return $response;