[ http://issues.apache.org/jira/browse/TAPESTRY-1120?page=all ]
Jesse Kuhnert resolved TAPESTRY-1120.
-------------------------------------
Fix Version/s: 4.1.1
Resolution: Fixed
It already has been as far as I know...Try using 4.1.1
> UploadPart / getFileName() doesn't work cross-platform
> ------------------------------------------------------
>
> Key: TAPESTRY-1120
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1120
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.0.2
> Reporter: Martin Petras
> Fix For: 4.1.1
>
>
> I could not reopen the issue
> http://issues.apache.org/bugzilla/show_bug.cgi?id=27544
> So I opened this one.
> The bug described by Karel Miarka is still not resolved. There is a bug in
> org.apache.tapestry.multipart.UploadPart 's getFileName method.:
> public String getFileName()
> {
> File file = new File(this.getFilePath());
> return file.getName();
> }
> You simply can not rely on JDK File implementation because it is not suitable
> to work cross-platform. Especially when uploading file from the MS IE client
> (on Windows of course:) to the unix-like server. MS IE sends full filename
> i.e. C:\Documents and Settings\user\Desktop\test.txt. This UploadPart
> implementation on the server use "/" character as a separator, therefore the
> file name could not be resolved.
> It would be appreciable if this bug would be fixed in the next release.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]