Changes between Version 4 and Version 5 of AttachFilterPlugin
- Timestamp:
- Jun 3, 2015, 8:25:47 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AttachFilterPlugin
v4 v5 5 5 == Description 6 6 7 Asimple plugin to reject attachments, using file-extension based rules.7 This is a simple plugin to reject attachments, using file-extension based rules. 8 8 9 9 == Bugs/Feature Requests … … 13 13 14 14 If you have any issues, create a 15 [ http://trac-hacks.org/newticket?component=AttachFilterPlugin new ticket].15 [/newticket?component=AttachFilterPlugin new ticket]. 16 16 17 17 [[TicketQuery(component=AttachFilterPlugin,group=type,format=progress)]] … … 25 25 You can check out AttachFilterPlugin from [http://trac-hacks.org/svn/attachfilterplugin here] using Subversion, or [source:attachfilterplugin browse the source] with Trac. 26 26 27 == Documentation27 == Configuration 28 28 29 In `trac.ini`, add a new section `[attachment_filter]`, where:29 In your `trac.ini` file, add a new section `[attachment_filter]`, where: 30 30 * keys match the mime file type to exclude 31 31 * values gives a brief description that is shown to the user to explain why the file is rejected … … 44 44 45 45 To obtain the exact MIME type string: 46 1. set up your Trac installation to show/dump INFO log message ,46 1. set up your Trac installation to show/dump INFO log message 47 47 1. attach a file of the (un)desired type 48 48 1. look for the plugin trace that shows the file name and the MIME type: