Skip to content

Commit

Permalink
Updated extension for Giovanni
Browse files Browse the repository at this point in the history
  • Loading branch information
markseuffert committed Apr 3, 2024
1 parent c77e73c commit ea0ca68
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion system/extensions/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Core extension, https://github.com/annaesvensson/yellow-core

class YellowCore {
const VERSION = "0.8.132";
const VERSION = "0.8.133";
const RELEASE = "0.8.23";
public $content; // content files
public $media; // media files
Expand Down Expand Up @@ -1491,6 +1491,10 @@ public function normaliseHeaders($input, $type = "mime", $filterStrict = true) {
$matches[1] = $matches[2] = "";
$matches[3] = $email;
}
if (!is_string_empty($matches[1]) && !preg_match("/^[\pL\d\-\. ]+$/u", $matches[1])) {
$matches[1] = $matches[2] = "";
$matches[3] = "error-mail-filter";
}
if ($filterStrict && !preg_match("/^[\w\+\-\.\@]+$/", $matches[3])) {
$matches[3] = "error-mail-filter";
}
Expand Down
4 changes: 2 additions & 2 deletions system/extensions/update-available.ini
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ system/themes/copenhagen.css: copenhagen.css, create, update, careful
system/themes/copenhagen.png: copenhagen.png, create

Extension: Core
Version: 0.8.132
Version: 0.8.133
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: 2024-04-03 21:03:27
Published: 2024-04-03 21:29:08
Status: available
system/extensions/core.php: core.php, create, update
system/layouts/default.html: default.html, create, update, careful
Expand Down
4 changes: 2 additions & 2 deletions system/extensions/update-current.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Datenstrom Yellow update settings for installed extensions

Extension: Core
Version: 0.8.132
Version: 0.8.133
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: 2024-04-03 21:03:27
Published: 2024-04-03 21:29:08
Status: available
system/extensions/core.php: core.php, create, update
system/layouts/default.html: default.html, create, update, careful
Expand Down

0 comments on commit ea0ca68

Please sign in to comment.