-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
sparc
-
solaris_2.6
Name: dfR10049 Date: 04/13/2001
java.net.URLDecoder.decode(s, enc) treats an empty encoding name and null as "UTF-8".
There is similar bug #4395472 against URLEncoder.encode(s, enc).
It has been already fixed so encode(s, enc) throws UnsupportedEncodingException
in case of empty string or null.
Implementation of URLDecoder.decode(s, enc) should be also changed to
process encoding in the same way as URLEncoder.encode(s, enc).
======================================================================