Hi i just wondering me. in the new drupal 7 alpha 6 i cant upload anymore my site verify *.html files because he said the extension is not allowed.. i search but cant found any option to add .html in the extension
someone has a tip ?

The specified file *.html could not be uploaded. Only files with the following extensions are allowed: jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp.

Thanks

CommentFileSizeAuthor
#1 site_verify-860432.patch859 bytesinstanceofjamie

Comments

instanceofjamie’s picture

StatusFileSize
new859 bytes

Down to file_save_upload now taking file types as a second parameter.

Here's a patch =)

-- J.

instanceofjamie’s picture

Status: Active » Needs review
dave reid’s picture

Status: Needs review » Fixed

Actually according to the function docs, all we need is: $validators = array('file_validate_extensions' => array());. I tested that and committed the fix to CVS.
http://drupal.org/cvs?commit=406104

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.