# This file documents the revision history for Perl extension Catalyst.
+ Bug fixes:
+ - Fix slurping a file to work correctly with binary on Win32 in the
+ encoding test controller.
+
New features:
- The __MOP__ hash element is suppressed from being dumped fully
(and instead stringified) when dumping the error screen to be
sub binary : Local {
my ($self, $c) = @_;
- $c->res->body(do { open(my $fh, '<', $c->path_to('..', '..', 'catalyst_130pix.gif')) or die $!; local $/ = undef; <$fh>; });
+ $c->res->body(do { open(my $fh, '<', $c->path_to('..', '..', 'catalyst_130pix.gif')) or die $!; binmode($fh); local $/ = undef; <$fh>; });
}
sub binary_utf8 : Local {