[ic] filter tag urlencode

Joe Tarnow joe_punch_clock@yahoo.com
Wed, 22 Nov 2000 14:48:53 -0800 (PST)

Dear Interchange Users,                          
(running Interchange 4.6 on RH6.1)

The following tag 
[filter urlencode][value address][/filter]
url encodes the stuff in the filter tag, however it is
not interpolating the value tag.
If I add
[filter op="interpolate=1" urlencode]
to the tag it interpolates, but isn't using the
urlencode thing.
Any hints?

the following is in the catalog.cfg

ActionMap  urlencode   <<EOR
sub {
	my $val = shift;
	$val =~ s|[^\w:]|sprintf "%%%02x", ord $1|eg;
	return $val;

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.