Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Attachment Extension 1.4
This discussion has been closed.
Comments
I believe you can just add this line to default.php:
'application/x-shockwave-flash' => array('swf', 'SWF')
at the bottom here:
$Configuration['ATTACHMENT_ALLOWED_FILETYPES'] = array ( 'image/png' => array('png', 'PNG'), 'image/jpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'), 'image/pjpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'), 'application/pdf' => array('pdf', 'PDF'), 'application/x-pdf' => array('pdf', 'PDF'), 'application/zip' => array('zip', 'ZIP'), 'application/x-zip-compressed' => array('zip', 'ZIP'), 'application/octet-stream' => array('rar', 'RAR'), 'text/plain' => array('txt', 'TXT'), 'application/x-gzip' => array('gz', 'GZ', 'tar.gz', 'TAR.GZ'), 'application/download' => array('rar', 'RAR'), 'application/x-shockwave-flash' => array('swf', 'SWF') );
But this is untested, and I'm not sure how it'd render, or if it'd just download.
If you want to be able to embed swf's into your posts, and your using the htmlformatter extension, there are a couple of lines you can take out of that default.php to allow embeding of that filetype, while still disallowing script.
@ jazzman: If I can be of any assistance with anything what-so-ever, just give me a shout
Notice: Undefined variable: Whispered in /home/u3769/domain/client.zeusbox.org/web/extensions/Notify/default.php on line 154
I think it's conflict with the Notify add-on. Not sure which one to blame..i am just using Vanilla less than a week :-p
Sorry if this error has been reported or commented, just want a quick answer.