Upgrade to Apache 2.4 breaks encoding in a PerlOutputFilterHandler

Vincent Veyron <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi list,

My application has the following general configuration, which works fine with 2.2 : a perl script generates the 'core' html content for a given location, and a filter adds some additional generic content. The basic Apache configuration directives are :
 
 <Location /base/agenda_general>

  SetHandler perl-script

   Marica::Base::Agenda::agenda_general

 </location>

 <LocationMatch \/base\/>

  PerlOutputFilterHandler Marica::Base::Filter::html_head_and_tail

 </LocationMatch>

When I upgrade to Apache 2.4, this happens :

http://imgur.com/5WkhL8P

The filter appears to get the encoding wrong when processing the content of the PerlResponseHandler (the garbled part on the right), while the part that it adds (the menu on the left) is displayed correctly.

Code for the PerlOutputFilterHandler is here :

http://pastebin.com/G6QTBNJL

Code for the PerlResponseHandler is here :

http://pastebin.com/JqLT7aKU

Any idea of what might cause this?


-- 
					Salutations, Vincent Veyron 

https://legalcase.libremen.com/ 
Legal case, contract and insurance claim management software
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.