[Zope] why does squishdot url_quote email address values?
Fred Yankowski
fred@ontosys.com
Tue, 3 Oct 2000 18:21:53 -0500
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-->
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.
So what's the solution? Is Squishdot wrong to use url_quote this way?
Why is url_quote hiding the "@" anyway -- I don't see any reason for
escaping it this way.
--
Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312
Principal Consultant www.OntoSys.com fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA