[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Upload filename  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

for uploading files I used:
DefaultUploadContent#passClientFile(String fileName, byte[] bytes)

Since an update, the filename with " " (spaces) the name is not encoded right.
e.g. upload:
- "Hello World.doc" --> "Hello%20World.doc"

Should the name still be encoded by framework?
(or should I change this by URLDecoder.decode(name, "UTF-8")

Kind regards
Roland
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5527
Offline

Hi Roland,

this bug was just reported by an other user nearly at the same point of time... (but I know that your not in contact with them). It is fixed + part of next update.

Regards, Björn

PS: the upload management was having problems with big files (>500MB) so we had to fix this issue, unfortunately with the side effect of the missing URL-decoding of file names...

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

thx
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team