tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r905020 - /tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java
Date Sun, 31 Jan 2010 12:48:53 GMT
Author: markt
Date: Sun Jan 31 12:48:53 2010
New Revision: 905020

URL: http://svn.apache.org/viewvc?rev=905020&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48645
Use specified encoding rather than null

Modified:
    tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java

Modified: tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java?rev=905020&r1=905019&r2=905020&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/RequestUtil.java Sun Jan 31 12:48:53 2010
@@ -281,7 +281,7 @@
      * 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);
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message