why does squishdot url_quote email address values?
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
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
participants (2)
-
Chris Withers -
Fred Yankowski