Tags:
create new tag
view all tags

SID-01955: Configure filetype of uploaded attachment

Status: Answered Answered TWiki version: 5.1.4 Perl version: 5.8
Category: CategoryAttachments Server OS: RH7 Last update: 10 years ago

Hello

For attachments the documentation says

Any type of file can be uploaded. Some files that might pose a security risk are renamed, ex: *.php files are renamed to *.php.txt so that no one can place code that would be read in a .php file.

Is there a way to disable this for certain webs ? Such that the original filetype remains

-- Peter Jones - 2014-07-29

Discussion and Answer

This is controlled by the {UploadFilter} configure setting. Unfortunately this is not configurable per web. You'd need to patch the core code.

-- Peter Thoeny - 2014-07-29

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Configure filetype of uploaded attachment
SupportCategory CategoryAttachments
TWiki version 5.1.4
Server OS RH7
Web server apache
Perl version 5.8
Browser & version IE, Firefox, Safari, Chrome, Opera
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.