vancetang / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Incorrect Path encoding when using ClasspathHelper #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Path with a Whitespace
2. Create a Java app in there
3. Use the ClasspathHelper to get the URLs

What is the expected output? What do you see instead?
expected: file:/D:/Workspace/Prototyp-Taskforce/forge/Push 
Services/WebRoot/WEB-INF/classes/

computed: file:/D:/Workspace/Prototyp-
Taskforce/forge/Push%20Services/WebRoot/WEB-INF/classes/

What version of the product are you using? On what operating system?
0.9.5 RC1

Please provide any additional information below.
Whitespace are encoded in the URL right. But under %20 won't be replaced, 
when the Reflections-API is used. So the Filesystem can't find the 
resources.

Original issue reported on code.google.com by daniel.m...@googlemail.com on 5 Apr 2010 at 4:25

GoogleCodeExporter commented 9 years ago
Duplicated #36

Original comment by daniel.m...@googlemail.com on 5 Apr 2010 at 9:03

GoogleCodeExporter commented 9 years ago
But seems not to be in 0.9.5 RC1

Original comment by daniel.m...@googlemail.com on 5 Apr 2010 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by ronm...@gmail.com on 17 May 2010 at 4:21