[Catalyst-commits] r12740 -
Catalyst-Plugin-Compress/trunk/lib/Catalyst/Plugin
xinming at dev.catalyst.perl.org
xinming at dev.catalyst.perl.org
Wed Jan 27 12:31:35 GMT 2010
Author: xinming
Date: 2010-01-27 12:31:35 +0000 (Wed, 27 Jan 2010)
New Revision: 12740
Modified:
Catalyst-Plugin-Compress/trunk/lib/Catalyst/Plugin/Compress.pm
Log:
Fix #46259 by applying patch provided by "Aaron Barlow"
Modified: Catalyst-Plugin-Compress/trunk/lib/Catalyst/Plugin/Compress.pm
===================================================================
--- Catalyst-Plugin-Compress/trunk/lib/Catalyst/Plugin/Compress.pm 2010-01-27 10:07:29 UTC (rev 12739)
+++ Catalyst-Plugin-Compress/trunk/lib/Catalyst/Plugin/Compress.pm 2010-01-27 12:31:35 UTC (rev 12740)
@@ -75,7 +75,7 @@
or $c->res->content_encoding
or (not $c->res->body)
or ($c->res->status != 200)
- or ($c->res->content_type !~ /^text|xml$|javascript$/)
+ or ($c->res->content_type !~ /^text|xml$|javascript|json$/)
) {
return $c->maybe::next::method(@_);
}
More information about the Catalyst-commits
mailing list