This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: java.net.URLDecoder doesn't follow spec.


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> The following diff removes the Exception and merges URLDecoder
Mark> with the comments of the Classpath version (the code was already
Mark> the same).

Thanks Mark.  Please check this in if you haven't already (both
Classpath and libgcj).

Hmm.. the comment before the decode method is wrong.  It says:

  * This method translates the passed in string into x-www-form-urlencoded
  * format and returns it.

However, the method actually translates from (out of) x-www-form-urlencoded.

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]