[Zope] dunno

Chris Withers chrisw@nipltd.com
Wed, 04 Oct 2000 16:16:59 +0100


Fred Yankowski wrote:
> 
> Version 0-7-2 of Squishdot seems to use the url_quote option when
> accessing the value of admin_address in particular, so when a DTML
> page has code like
> 
>      <!--#var admin_address url_quote-->

Where does this code occur? (all occurences please ;-)

> and admin_address is a property with the value "foo@bar.com", the
> resulting HTML code is
> 
>      foo%40bar.com
> 
> which doesn't work correctly, particularly when used as the value of a
> 'mailto:' URL.

How odd... Where have you got a mailto: URL? I've never had problem with
this. What evrsion of Zoep are you using?

> So what's the solution?  Is Squishdot wrong to use url_quote this way?

Dunno...

> Why is url_quote hiding the "@" anyway -- I don't see any reason for
> escaping it this way.

Dunno...

Anyone with clues, please give me one :-)

cheers,

Chris