Discussion:
[Mason-devel] [PATCH] Typo in CGIHandler 1.31
David Glasser
2005-08-22 17:54:01 UTC
Permalink
Mason 1.31 *almost* fixes the CGIHandler problems (thanks Dave!) but
a teeny typo means that it still never uses a custom out_method in
CGI mode. (And so HTTP::Server::Simple::Mason / RT-standalone still
can't work with 1.31.)

Patch:

diff -ruN HTML-Mason-1.31/lib/HTML/Mason/CGIHandler.pm HTML-
Mason-1.31.good/lib/HTML/Mason/CGIHandler.pm
--- HTML-Mason-1.31/lib/HTML/Mason/CGIHandler.pm 2005-08-20
13:56:20.000000000 -0400
+++ HTML-Mason-1.31.good/lib/HTML/Mason/CGIHandler.pm 2005-08-22
15:44:37.000000000 -0400
@@ -51,7 +51,7 @@
error_format => 'html',
%p);
- $self->{custom_out_method} = $p{out_method} ? 1 : 0;
+ $self->{has_custom_out_method} = $p{out_method} ? 1 : 0;
$self->interp->compiler->add_allowed_globals('$r');


--dave
Code Monkey, Best Practical Solutions
--
David Glasser | ***@bestpractical.com
Loading...