Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48645
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 31 Jan 2010 12:48:53 +0000 (12:48 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 31 Jan 2010 12:48:53 +0000 (12:48 +0000)
Use specified encoding rather than null

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@905020 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/util/RequestUtil.java

index 057049d..ffc6c6f 100644 (file)
@@ -281,7 +281,7 @@ public final class RequestUtil {
      * by a valid 2-digit hexadecimal number
      */
     public static String URLDecode(byte[] bytes, String enc) {
-        return URLDecode(bytes, null, false);
+        return URLDecode(bytes, enc, false);
     }
 
     /**