What does the term normalize mean in this context?
I thought the issue being discussed was parsing an uploaded filename to
get just the filename sans path, as IE sends... where uploads from Windows
to a Unix server means that if you use the File.pathSeparatorChar to parse
the name, you would
Sorry guys, meant for this to go to the list only...
On Thu, June 9, 2005 4:35 pm, Martin Cooper said:
Nope. If the upload came from a Windows system and the server is running
on *nix, then the system separator is *not* what you want. You'd be
looking for '/' in a path that uses '\' as the
Frank,
If the File class does not normalize the string used to create the
File, then there is a bug. There seems to be a bug in one version of
Linux and that has been reported to Sun. The constructor for File is
as follows:
public File(String pathname) {
if (pathname == null) {
3 matches
Mail list logo