https://issues.apache.org/bugzilla/show_bug.cgi?id=45142





--- Comment #1 from Torsten Krah <[EMAIL PROTECTED]>  2008-06-05 11:18:52 PST 
---
A suggested fix, it seems ok for me, maybe i've missed something, is to check
for '/' as separatorChar and if true, skip the "\" replacement, something like
this:


if(File.separatorChar != '/') {
 path = path.replace('\\', File.separatorChar);
}

Applying this to resolveFile and normalize Methods of FileUtils.java did the
trick.
Good or bad idea?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to