From 8b8e14bdff0300552c71242c91acf42c1c8240ec Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 10 Dec 2024 19:12:17 +0800 Subject: [PATCH] Fix email decoy url not correctly redirect to open email --- src/.htaccess.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.htaccess.njk b/src/.htaccess.njk index 6f9d6c84..27ac252e 100644 --- a/src/.htaccess.njk +++ b/src/.htaccess.njk @@ -15,7 +15,7 @@ Header set Cache-Control "no-cache, public" RewriteEngine on # Redirect obfuscated email links to mailto link -RewriteRule ^.*{{ sitemeta.siteAuthor.emailDecoyUrl }}.*$ mailto:{{ sitemeta.siteAuthor.email }} [R=301,L] +RewriteRule ^.*{{ sitemeta.siteAuthor.emailDecoyUrl }}.*$ "mailto:{{ sitemeta.siteAuthor.email }}" [R=301,L] # Block bad bots RewriteCond %{HTTP_USER_AGENT} ({{ robots.htaccess }}) [NC]