aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-05-08 22:39:51 -0400
committerThedro Neely <thedroneely@gmail.com>2019-05-08 22:39:51 -0400
commitfb01dde943933b6040ce5688999ef945b1e84d4b (patch)
tree415b96b194ab3131c431bcc158d506e250ef281e
parent178600f0fa8445ce56c13f8332e704599310713f (diff)
downloadedwinmattiacci.com-fb01dde943933b6040ce5688999ef945b1e84d4b.tar.gz
edwinmattiacci.com-fb01dde943933b6040ce5688999ef945b1e84d4b.tar.bz2
edwinmattiacci.com-fb01dde943933b6040ce5688999ef945b1e84d4b.zip
views/partials/footer: Obfuscate email address using html entities
-rw-r--r--views/partials/footer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/partials/footer.php b/views/partials/footer.php
index 00f043f..049fe6d 100644
--- a/views/partials/footer.php
+++ b/views/partials/footer.php
@@ -9,7 +9,7 @@
<div class="inline-flex flex-wrap mb-1">
- <a href="mailto:edwinmattiacci@yahoo.com"
+ <a href="mailto:<?php echo mb_encode_numericentity('edwinmattiacci@yahoo.com', array(0x000000, 0x10ffff, 0, 0xffffff), 'UTF-8'); ?>"
class="w-20 bg-grey-light p-2 my-2 mr-2 rounded hover:bg-blue-lighter">
<?php echo file_get_contents($_SERVER['DOCUMENT_ROOT']
. '/..' . '/public/icons/feathericons/mail.svg') ?>