From 37f76382ad8724a5b51e0251e1201734c536928b Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 21 Jul 2022 15:39:09 +0200 Subject: [PATCH] v1.5.4; added : and / to list of encodeable characters --- CHANGELOG.md | 6 ++++++ antispam.php | 2 +- blueprints.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9359435..6b57656 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.5.4 +## 21-07-2022 + +1. [](#bugfix) + * parameters in mailto links can now contain urls + # v1.5.3 ## 24-06-2022 diff --git a/antispam.php b/antispam.php index 15dfabe..912dad4 100644 --- a/antispam.php +++ b/antispam.php @@ -111,7 +111,7 @@ private function munge($array, $string = "link") $address = strtolower($array[2]); } $coded = ""; - $unmixedkey = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.@-_?=&"; + $unmixedkey = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.@-_?=&/:"; $inprogresskey = $unmixedkey; $mixedkey = ""; $unshuffled = strlen($unmixedkey); diff --git a/blueprints.yaml b/blueprints.yaml index 5c8e227..27f0e1c 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,5 +1,5 @@ name: Antispam -version: 1.5.3 +version: 1.5.4 description: Automatic obfuscation of plain text email addresses in Grav pages. icon: at author: