Browse Source

Updated extension for Giovanni

markseu 1 year ago
parent
commit
ea0ca6817e

+ 5 - 1
system/extensions/core.php

@@ -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
@@ -1491,6 +1491,10 @@ class YellowLookup {
                             $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";
                         }

+ 2 - 2
system/extensions/update-available.ini

@@ -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

+ 2 - 2
system/extensions/update-current.ini

@@ -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