On Thu, Jan 24, 2002 at 08:53:03PM -0500, David Miller wrote:
> I get this error repeated a few dozen times at the top of the query.cgi
> page in Bugzilla:
> 
> Can't locate Apache/Util.pm in @INC 

That shouldn't happen.  The error is being generated by the new code
added to the html filter which tries to use Apache::Util or HTML::Entities
if either is installed.

However, the code is this:

    # if Apache::Util is installed then we use it
    eval { 
        require Apache::Util;
        Apache::Util::escape_html('');
    };
    return \&Apache::Util::escape_html
        unless $@ || $opts->{ entity };

I don't see why the code should be generating warnings when it's wrapped
inside an eval { } block.

Anyone else know why this might be?  

A



Reply via email to