• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
On file Ts.rtf I get the error Filename Logo Ts.rtf is not legal for a TWiki attachment.

rest of message:

Certain characters are not permitted in filenames, and other filenames are not permitted for security reasons. Your filename matched one of the following regular expressions, so it was rejected:
{UploadFilter}
/^(\.htaccess|.*\.(?i)(?:php[0-9s]?|phtm[l]?|pl|py|cgi))$/
{NameFilter}
/[\s\*?~^%`"'&;|<>\x00-\x1f]/
Rename the file on your local machine and try uploading again.

AC

--

Seconded. This makes TWiki:Codev.AutomaticAttachments pointing to my "My Documents" folder quite a lot less useful!

MC


agreed. first, there's no reason spaces can't be used. to handle the more troublesome file extensions will require some apache config so that files under pub/ aren't executed. -- WN


But rtf couldn't be a troublesome file extension, could it? Perhaps 'just' a bug? -- AC

with Filename Logo Ts.rtf, the problem isn't the .rtf extension, it's the spaces. i don't know why spaces aren't allowed, but yes, i'm agreeing this should be fixed. -- WN


Spaces are not allowed in filenames for various reasons stretching back into the dim-and-distant, but mostly because there aren't any tests and it's too late to open that can of worms (I tried, and everything went tits-up).

Deferred.

CC

Spaces mostly work (Item822) except for edge cases (Item957)

MC

Undeferred, post Dakar CC


See also Item3456

CC

Rod Beckstrom wrote:

Dear Crawford,

Not sure if this is a bug but you would save millions of mouse clicks by either shutting off this useless warning message that the file name has been changed or by adding a checkbox choice at the bottom to never see the message again. It is the most annoying of regular messages I see in the system and the most useless. It is obvious to a user that the name is changed when they look at the Attachment list.

Can you please remove this simple roadblock?

Thanks!

Rod
I realise this isn't directly on-topic, but it does justify raising priority to "Normal" IMHO. CC

Arthur has sometimes discussed doing a "flash" message system for this kind of messages. Putting energy into a generic solution for the messages are probably the better way to go.

-- TWiki:Main.SteffenPoulsen - 14 Sep 2007

Renamed item to reflect the remainder of the problem. Spaces in filenames and extensions like rtf are handled by renaming the file now, but the message could be less intrusive.

-- TWiki:Main.SteffenPoulsen - 22 Dec 2007

ItemTemplate
Summary Attached file renamed message too intrusive / not necessary
ReportedBy ArthurClemens
Codebase

SVN Range

AppliesTo Engine
Component

Priority Normal
CurrentState Confirmed
WaitingFor Someone who cares
Checkins

TargetRelease major
ReleasedIn

Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2007-12-22 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback