perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Veyron <vv.li...@wanadoo.fr>
Subject Upgrade to Apache 2.4 breaks encoding in a PerlOutputFilterHandler
Date Wed, 27 May 2015 18:48:33 GMT
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

Mime
View raw message