Fix email decoy url not correctly redirect to open email

This commit is contained in:
Helen Chong 2024-12-10 19:12:17 +08:00
parent e671530a2e
commit 8b8e14bdff
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Header set Cache-Control "no-cache, public"
RewriteEngine on RewriteEngine on
# Redirect obfuscated email links to mailto link # 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 # Block bad bots
RewriteCond %{HTTP_USER_AGENT} ({{ robots.htaccess }}) [NC] RewriteCond %{HTTP_USER_AGENT} ({{ robots.htaccess }}) [NC]