Is there a way to limit what types of attachments are allowed to be uploaded? It doesn't seem to be talking to the "upload" module with regards to limiting file types.

Thanks in advance.

Jesse

Comments

oadaeh’s picture

Version: 5.x-1.1 » 5.x-1.x-dev
Component: Miscellaneous » Code
Assigned: Unassigned » oadaeh
Category: support » feature

Okay, I've started working on this. I should also probably be following the size limits set there. It's a little hairier than just adding or modifying a couple of lines (along with testing all the various use cases I can come up with), so it might be a few days or weeks before I get the time to complete it.

apt94jesse’s picture

That's great news, good luck with your coding. Thanks a ton!

oadaeh’s picture

Status: Active » Fixed

I finally got around to fixing this. Here's the commit: http://drupal.org/cvs?commit=122461

There's no official release yet, as I have a couple of other things to add before then.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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