mailto hex and ns4

From: Date: Fri, 13 Feb 2004 16:53:06 +0000
Subject: mailto hex and ns4
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10948@lists.php.net to get a copy of this message
Hi, I used the custom function "mailto" with hex-encoding, for spam-protection. But: NS4.x doesn't like it. As mentioned in the manual, smarty gives the link back like this: <a href="mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d" >&#x6d;&#x65;&#x40;&#x64;& #x6f;&#x6d;&#x61;&#x69;&#x6e;&#x2e;&#x63;&#x6f;&#x6d;</a> the second part, hex-encoded, is fine in NS4. NS4 shows the normal characters, not the code. But the first part after "mailto:", which looks like an URL-encoding, is shown as it is in the sourcecode. Ist there any reason, the first part being not also a hex code like the second part? This would work fine in NS4. Tobias

« previous php.smarty.general (#10948) next »