[Catalyst-commits] r11966 - Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sun Nov 22 13:04:50 GMT 2009


Author: t0m
Date: 2009-11-22 13:04:50 +0000 (Sun, 22 Nov 2009)
New Revision: 11966

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/CGI.pm
Log:
Fix unicode issues in CGI and FastCGI engines

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/CGI.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/CGI.pm	2009-11-22 13:01:48 UTC (rev 11965)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine/CGI.pm	2009-11-22 13:04:50 UTC (rev 11966)
@@ -85,6 +85,7 @@
     if ( $ENV{SERVER_PORT} == 443 ) {
         $request->secure(1);
     }
+    binmode(STDOUT); # Ensure we are sending bytes.
 }
 
 =head2 $self->prepare_headers($c)




More information about the Catalyst-commits mailing list