incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r620470 - /incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/helper/PathSupport.java
Date Mon, 11 Feb 2008 12:22:20 GMT
Author: fmeschbe
Date: Mon Feb 11 04:22:17 2008
New Revision: 620470

URL: http://svn.apache.org/viewvc?rev=620470&view=rev
Log:
Methodnames are defined to be case-sensitive in Section 5.1.1 of
RFC-2616 (HTTP/1.1 Specification). So we should no mangle the
case of the request method name.

Modified:
    incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/helper/PathSupport.java

Modified: incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/helper/PathSupport.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/helper/PathSupport.java?rev=620470&r1=620469&r2=620470&view=diff
==============================================================================
--- incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/helper/PathSupport.java
(original)
+++ incubator/sling/trunk/sling/servlet-resolver/src/main/java/org/apache/sling/servlet/resolver/helper/PathSupport.java
Mon Feb 11 04:22:17 2008
@@ -49,7 +49,7 @@
         } else {
 
             // for other methods use the method name
-            return methodName.toUpperCase();
+            return methodName;
         }
     }
 



Mime
View raw message