As part of #308434: Clean up file.inc ahead of hook_file and add unit tests. file_validate_extensions() enforces check for uid=1 but some how the help messages in the upload module were over looked. The attached patch removes the special case for uid=1 on the allowed extensions listing.

CommentFileSizeAuthor
upload_help.patch1.12 KBdrewish

Comments

Status: Needs review » Needs work

The last submitted patch failed testing.

drewish’s picture

Status: Needs work » Needs review

bumping status after testbot meltdown.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Good find.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

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