The implementation will do:
- on Windows, call getCanonicalFile to avoid lots
of evil problems with e.g. filename case and 8.3
- on Unix or Unix-like systems, use new
File(f.toURI().normalize()) which takes care of
"." and ".." path components and absolutizes the
path but does not traverse symlinks.
This method will have to be used consistently in
all code base in order to prevent issues like 25953.
Radek volunteer to do this.
Doesn't we already have this method?? Why is this still open? And why
is Version set to 3.5?
Fixed long time ago.