[ic] Filter sub routine not called

Alexandra Birch [email protected]
Mon Jan 28 12:35:01 2002


I created a new filter in my catalog.cfg to filter only ic tags:
# New filter for making entered ic tags safe
Sub <<EOR
sub restrict_tags  {
                my $val = shift;
                $val =~ s/\[/&#91;/g;
                return $val;
}
EOR

And called it in my table-editor tag:
[table-editor

        filter.question="restrict_tags"
        filter.answer="restrict_tags"

        cgi=1
]

I restarted and ic tags keep getting through.

Any ideas would be welcomed. Thanks

----------------------------------------------
Alexandra Birch
Trymedia Systems
965 10 77 71 
www.trymedia.com
----------------------------------------------

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Kari
> Suomela
> Sent: sabado, 26 de enero de 2002 23:34
> To: [email protected]
> Subject: [ic] "error in configuration"
> 
> 
> I installed Interchange from rpms on a RH 7.2 system. Foundation works 
> fine, but when I create a new catalog, it gives the following error:
> 
> Jan 26 17:29:12 kb1 interchange: ^Gtestcatalog: error in configuration. 
> Skipping.
> 
> ... and cannot be accessed.
> 
> How do I fix this?
> 
>  KS
> 
>    KARICO Business Services
>    Toronto, ON Canada
>    http://www.karico.ca
> 
> _______________________________________________
> interchange-users mailing list
> [email protected]
> http://interchange.redhat.com/mailman/listinfo/interchange-users