[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[ic] filter tag urlencode
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?
BTW
the following is in the catalog.cfg
ActionMap urlencode <<EOR
sub {
my $val = shift;
$val =~ s|[^\w:]|sprintf "%%%02x", ord $1|eg;
return $val;
}
EOR
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users