Skip to content

Commit

Permalink
v1.5.4; added : and / to list of encodeable characters
Browse files Browse the repository at this point in the history
  • Loading branch information
skinofthesoul committed Jul 21, 2022
1 parent 4285f3e commit 37f7638
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion antispam.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 37f7638

Please sign in to comment.