No text really. Title says is all.
Makes posting code simpler.
|
UbercartOne cart to rule them all... |
|
| Donate | Affiliates | Sponsors | ||
Allow .module , .info and .diff files to be attached to posts on this website
Submitted by a_c_m@drupal.org on Wed, 03/26/2008 - 10:42
No text really. Title says is all. Makes posting code simpler.
(15:10:36) cYu: drayen: jpg jpeg gif png txt html doc xls pdf ppt pps odt ods odp cif zip tar gz diff xml Ok so just the .info and .module then If there aren't reasons, security or otherwise, for blocking certain file types....I also wouldn't mind seeing .install, .inc, .php, .patch, .css, and .js added to the list. Well, yes there are security reasons. These are blocked by .htaccess because you don't want to allow people to download the raw source code for your site implementation! (.module, .php, .js etc.). I guess it's possible to allow these file types only for certain subdirectories (although I'd suggest thinking very hard about code injection attacks before doing this), but is it really a problem to just zip them up before you post? Saves space/bandwidth at ubercart.org that way too. I'll add in .patch to the list (since diff already exists), but for the time being I'm leaving out code files for the reasons posted by TR.
|
|
Joined: 01/02/2008