[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason-cvs
Subject:    [Mason-checkins] CVS: mason/dist/lib/HTML/Mason ApacheHandler.pm,1.256,1.257
From:       Dave Rolsky <autarch () users ! sourceforge ! net>
Date:       2002-09-27 17:17:22
[Download RAW message or body]

Update of /cvsroot/mason/mason/dist/lib/HTML/Mason
In directory usw-pr-cvs1:/tmp/cvs-serv24086

Modified Files:
	ApacheHandler.pm 
Log Message:
escapes => escape_flags


Index: ApacheHandler.pm
===================================================================
RCS file: /cvsroot/mason/mason/dist/lib/HTML/Mason/ApacheHandler.pm,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -r1.256 -r1.257
--- ApacheHandler.pm	27 Sep 2002 01:59:07 -0000	1.256
+++ ApacheHandler.pm	27 Sep 2002 17:17:20 -0000	1.257
@@ -386,11 +386,11 @@
 	}
     }
 
-    if (exists $p{escapes}) {
+    if (exists $p{escape_flags}) {
         my %escapes;
-        foreach my $pair (@{$p{escapes}}) {
+        foreach my $pair (@{$p{escape_flags}}) {
             my ($key, $val) = split /\s*=>\s*/, $pair, 2;
-            param_error "Configuration parameter MasonEscapes must be a key/value pair ".
+            param_error "Configuration parameter MasonEscapeFlags must be a key/value pair ".
                         "like 'foo => \&foo_escape'.  Invalid parameter:\n$pair"
                 unless defined $key && defined $val;
 
@@ -400,7 +400,7 @@
             $escapes{$key} = $coderef;
         }
 
-        $p{escapes} = \%escapes;
+        $p{escape_flags} = \%escapes;
     }
 
     my $ah = $package->new(%p, $r);



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic