User login

Agaric wants Drupal to upload files with any or no extension and stop being a pain about it

Agaric is not alone: Allow any files to be uploaded or make "Permitted upload file extensions" a required field

The workaround of adding the file name to the "extension" list didn't work for us though for a file called "Capfile" (with no extension, of course).

Adding a .txt extension to the file for now. But may I say: annoying!


Searched words: 
drupal allow upload of files with no extension


I can see how this could be

I can see how this could be a security concern in some cases, but letting people upload files to begin with is a security risk, considering that malicious code can easily be saved within pictures....

anyway, it should be a role thing, if you are an admin, you should be able to upload whatever you want. I mean, c'mon if you have the ability to change themes and delete users, I think the system should trust you enough to let you upload whatever you want.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.