Skip to main content

Please review fix 6674329: "javatestClassDir" variable may be incorrectly e

2 replies [Last post]
fda
Offline
Joined: 2005-05-27
Points: 0

URLDecoder.decode() method is used to get rid of '%20' in path obtained from URL.

The simplest way to reproduce the bug:
# mkdir "dir with spaces"
# cp javatest.jar dir\ with\ spaces
# java -jar dir\ with\ spaces/javatest.jar

More cases of the wrong behaviour are described in the CR evaluation.

https://jtharness.dev.java.net/source/browse/jtharness?rev=1473&view=rev

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bkurotsu
Offline
Joined: 2004-12-13
Points: 0

I agree with the fix, please integrate.

fda
Offline
Joined: 2005-05-27
Points: 0

integrated