Skip to content

Commit 981bc3e

Browse files
committed
Restrict map tile url to https protocol
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
1 parent 5cd1096 commit 981bc3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public function getPageTitle(): string
419419
/** Get the Content-Security-Policy header */
420420
private function getCspHeader(): string
421421
{
422-
$mapTileUrl = ' tile.openstreetmap.org';
422+
$mapTileUrl = ' https://tile.openstreetmap.org';
423423
$cspAllow = $this->config->config->CSPAllow === '' ? '' : ' ' . $this->config->config->CSPAllow;
424424
$captchaUrl =
425425
$this->config->config->CaptchaLoginPrivateKey === '' ||

0 commit comments

Comments
 (0)