projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
565cd54
)
Fix unicode issues in CGI and FastCGI engines
Tomas Doran [Sun, 22 Nov 2009 13:04:50 +0000 (13:04 +0000)]
lib/Catalyst/Engine/CGI.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Engine/CGI.pm
b/lib/Catalyst/Engine/CGI.pm
index
8416e09
..
4c20c62
100644
(file)
--- a/
lib/Catalyst/Engine/CGI.pm
+++ b/
lib/Catalyst/Engine/CGI.pm
@@
-85,6
+85,7
@@
sub prepare_connection {
if ( $ENV{SERVER_PORT} == 443 ) {
$request->secure(1);
}
+ binmode(STDOUT); # Ensure we are sending bytes.
}
=head2 $self->prepare_headers($c)