• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 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.

Spaces in uploaded file names used to work

In Cairo users could upload a file with a bad name (e.g. one containing spaces) and the system would munge it by taking out the characters it did not like.

The Dakar defaults prohibit these. Spaces in this case are particularly problematic.

The following configure settings work for me.

for $TWiki::cfg{NameFilter}

  • old (?-xism:[\s\*?~^\$@%`"'&;|<>\x00-\x1f])
  • new (?-xism:[\n\r\*?~^\$@%`"'&;|<>\x00-\x1f])

  • works ok for upload and download
  • there is no rename (you can move an attachment to a different topic but you can't rename the attachment)

Summary Upload filter prevents files uploaded with certain names
ReportedBy MartinCleaver
AppliesTo Engine
Priority Low
CurrentState Closed

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-11-02 - MartinCleaver
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback