mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 4c92ade0052469f012ebadc66e96fe83384517da
parent ae83d1c1012e6e955815a978612d9111f1eafa4c
Author: markseu <mark2011@mayberg.se>
Date:   Sun,  9 Nov 2025 21:45:45 +0100

Updated well-known file types

Diffstat:
Msystem/extensions/update-available.ini | 4++--
Msystem/extensions/update-installed.ini | 4++--
Msystem/workers/core.php | 5+++--
3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini @@ -149,14 +149,14 @@ system/themes/copenhagen.css: copenhagen.css, create, update, careful system/themes/copenhagen.png: copenhagen.png, create Extension: Core -Version: 0.9.16 +Version: 0.9.17 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2025-09-03 11:42:50 +Published: 2025-11-09 21:35:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: corepatch.txt, update diff --git a/system/extensions/update-installed.ini b/system/extensions/update-installed.ini @@ -1,14 +1,14 @@ # Datenstrom Yellow update settings for installed extensions Extension: Core -Version: 0.9.16 +Version: 0.9.17 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2025-09-03 11:42:50 +Published: 2025-11-09 21:35:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: corepatch.txt, update diff --git a/system/workers/core.php b/system/workers/core.php @@ -2,7 +2,7 @@ // Core extension, https://github.com/annaesvensson/yellow-core class YellowCore { - const VERSION = "0.9.16"; + const VERSION = "0.9.17"; const RELEASE = "0.9"; public $content; // content files public $media; // media files @@ -1870,7 +1870,7 @@ class YellowLookup { // Check if file is a well-known file type public function isSafeFile($fileName) { - return preg_match("/\.(css|gif|ico|js|jpeg|jpg|map|png|scss|svg|woff|woff2)$/", $fileName); + return preg_match("/\.(css|gif|ico|js|jpeg|jpg|json|map|png|scss|svg|webmanifest|woff|woff2)$/", $fileName); } // Check if file is valid @@ -2027,6 +2027,7 @@ class YellowToolbox { "scss" => "text/x-scss", "svg" => "image/svg+xml", "txt" => "text/plain", + "webmanifest" => "application/manifest+json", "woff" => "application/font-woff", "woff2" => "application/font-woff2", "xml" => "text/xml; charset=utf-8");