You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2017/04/28 19:37:37 UTC
svn commit: r1793141 -
/tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java
Author: markt
Date: Fri Apr 28 19:37:37 2017
New Revision: 1793141
URL: http://svn.apache.org/viewvc?rev=1793141&view=rev
Log:
Correct Javadoc to new behaviour
Modified:
tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java?rev=1793141&r1=1793140&r2=1793141&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java Fri Apr 28 19:37:37 2017
@@ -294,9 +294,9 @@ public final class UDecoder {
/**
* Decode and return the specified URL-encoded String.
- * When the byte array is converted to a string, the system default
- * character encoding is used... This may be different than some other
- * servers. It is assumed the string is not a query string.
+ * When the byte array is converted to a string, the UTF-8 is used. This may
+ * be different than some other servers. It is assumed the string is not a
+ * query string.
*
* @param str The url-encoded string
* @return the decoded string
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org