Project

General

Profile

Bug #99654

Updated by Axel Hahn almost 2 years ago

The Email obfuscation is not working when it is used in html <address> tags. 
 Example: (Address tag created by the RTE Editor) 
 <pre><code class="html"> 
 <address class="address"> 
 <p class="address-title"><strong>Name</strong></p> 
 <p class="address-address">Street<br /> 
 Zip &amp; City</p> 
 <p class="address-phone">+49 1234 456-7890</p> 
 <p class="address-fax">+49 1234 456-7891</p> 
 <p class="address-email"><a href="mailto:john.doe@example.com">john.doe@example.com</a></p> 
 <p class="address-www"><a href="http://www.example.com">www.example.com</a></p> 
 </address> 
 </code></pre> 
 Is still machine readable: 
 <pre><code class="html"> 
 <a href="mailto:john.doe@example.com">john.doe@example.com</a> 
 </code></pre> 

 whereas a snippet outside the address tag: 
 <pre><code class="html"> 
 <p><a href="mailto:john.doe@example.com">john.doe@example.com</a></p> 
 </code></pre> 

 becomse obfuscated: 
 <pre><code class="html"> 
 <a href="javascript:linkTo_UnCryptMailto(%27ocknvq%2Clqjp0fqgBgzcorng0eqo%27);">john.doe(at)example.com</a> 
 </code></pre> 

 The following typoscript settings are used: 
 <pre><code class="html"> 
 config.spamProtectEmailAddresses = 2 
 config.spamProtectEmailAddresses_atSubst = (at) 
 </code></pre> 



  




 

Back