mailto hex and ns4
| From: | Tobias Daur | 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"
>me@d&
#x6f;main.com</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