Opened 16 years ago

Closed 16 years ago

#1295 closed enhancement (fixed)

Downloading files with space characters in the filename will suggest only the first part until space as name

Reported by: Jari Häkkinen Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.12
Component: web Version: 2.11
Keywords: Cc:

Description

I am not sure if this is a BASE problem but it is annoying because, in many cases, the client computer does not know to handle the file when the extension is missing.

Can this be fixed in BASE? Sometimes simple enclosing of file names within "" resolves this type of issues.

Change History (4)

comment:1 by Jari Häkkinen, 16 years ago

Version: 2.11

comment:2 by Nicklas Nordborg, 16 years ago

Milestone: BASE 2.12
Owner: changed from everyone to Nicklas Nordborg
Priority: majorminor
Status: newassigned

It seems like browsers handle this differently. IE replaces the space with an underscore. Quoting the filename may work, but there are reports that it is not enough for all browsers. I guess we should simply test it with FF3 and IE7 since that is the only browsers we care about.

I also noted that BASE doesn't prevent a quote character in the filename. I think this we should make this a forbidden character as well. It is not allowed in Windows or Linux. I'll add this as a separate ticket.

comment:3 by Nicklas Nordborg, 16 years ago

Quoting the file name seems to work well with FF3, but has no effect in IE7. But it seems like this is a known bug in IE7 and there is a workaround for it that is described here: http://support.microsoft.com/kb/952730

comment:4 by Nicklas Nordborg, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [4893]) Fixes #1295: Downloading files with space characters in the filename will suggest only the first part until space as name

Note: See TracTickets for help on using tickets.