I am using the Solspace Comment Upload extension to allow users to attach files to their comments. I would like to restrict the uploading of file types to only the MIME types listed in mimes.php. Currently it is allowing any file type to be uploaded, but the system seems to be restricting the download of file types that are not listed in mimes.php. Any help is greatly appreciated.

1 Answer 1


I don't believe there is a built in parameter to limit file types, but have a look at this old forum post which describes where in the ext code you can look to modify the allowed upload types.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.