
stas at stason
Sep 17, 2001, 9:19 AM
Post #5 of 5
(1097 views)
Permalink
|
Tatsuhiko Miyagawa wrote: > On Mon, 17 Sep 2001 21:48:37 +0800 > Stas Bekman <stas [at] stason> wrote: > > >>>If you choose to encode e-mail addresses, consider using >>>Apache::AntiSpam :) >>>http://search.cpan.org/search?dist=Apache-AntiSpam >>> >>Cool, that will work well for the HTML conversion, but the docs can be >>also seen in the source format e.g. a quick search on google gives: >>http://crazyinsomniac.perlmonk.org/mod_perl/Apache-mod_perl_guide-1.27/src/ >> > > Well, it can work with any text/* Content-Type! HTMLEncode > implementation won't though. > > # AntiSpam filtering is done on text/* files > return DECLINED unless ($r->content_type =~ m,^text/, && $r->is_main); Sure, but my point is that you don't have a control over source files as people put them on the web without doing any encoding. Therefore I was thinking to use a hardcoded: foo <AT> bar.com approach. _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:stas [at] stason http://apachetoday.com http://eXtropia.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
|