Derek Beattie wrote:

> <? if ($article->url) { ?>
> <p>Check out:<br><a href="&(article.url:u);">&(article.url);</a></p> <!-- :u
> means in URL form -->
> <? } ?>
> <p align="right">
>   <a href="/news/" class="navi">More news</a></p>
> 
> it works except the url tries to send me to:
> http://server.com/news/http://other.site.com
> when the desired resule would be:
> http://other.site.com

It's the :u modifier. It escapes the :, /, and . to their %code
equivalents so
the link will probably show up as
<a href="http%3A%2F%2Fother%2Esite%2Ecom">http://other.site.com</a>.
Best only to use
URL escaping for parameter lists.

emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to