[Jifty-commit] r6601 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Tue Mar 17 10:57:03 EDT 2009


Author: alexmv
Date: Tue Mar 17 10:57:03 2009
New Revision: 6601

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Request.pm

Log:
 r43240 at kohr-ah:  chmrr | 2009-03-17 10:05:56 -0400
 Canonicalize request method to be upper-case


Modified: jifty/trunk/lib/Jifty/Request.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Request.pm	(original)
+++ jifty/trunk/lib/Jifty/Request.pm	Tue Mar 17 10:57:03 2009
@@ -118,7 +118,7 @@
     my ($cgi) = @_;
 
     # Store away request method
-    $self->request_method( $cgi->request_method );
+    $self->request_method( uc $cgi->request_method );
 
     # Grab content type and posted data, if any
     my $ct   = $ENV{"CONTENT_TYPE"};


More information about the Jifty-commit mailing list