[PATCH] Typo in CGIHandler 1.31

David Glasser <[email protected]> Mon, 22 Aug 2005 15:52:55 -0400
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
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 | [email protected]



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf