Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
File downloads
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Sep 2011 at 20:08 UTC
Updated:
8 Oct 2011 at 20:41 UTC
Drupal 7 file upload changed the behavior of this function, now only certain file extensions can be uploaded unless this is overridden in code. Attached patch changes the Ubercart admin file upload so that it allows all file extensions. This applies only to the admin upload, it does not apply to any filefield the customer has access to. I think it's unnecessary to add a UI to allow the admin to restrict the file extensions that the admin can upload.
| Comment | File | Size | Author |
|---|---|---|---|
| allow-all-extensions.patch | 595 bytes | tr |
Comments
Comment #1
tr commentedComment #2
silvercat commentedI can't believe this hasn't been found and fixed earlier. This patch was the only way I was able to upload a .mp3-file to the File Downloads-system of Ubercart. Thanks TR!
Comment #3
longwaveCommitted.