Node.js based forum software built for the modern web
fix list of allowed filetypes
psychobunnybc2bf6ef3755
diff --git a/src/file.js b/src/file.jsindex 2f503f0309..80f0289a59 100644--- a/src/file.js+++ b/src/file.js@@ -54,7 +54,7 @@ file.isFileTypeAllowed = function(path, allowedExtensions, callback) {var uploadedFileExtension = mime.extension(mimeType);if (allowedExtensions.indexOf(uploadedFileExtension) === -1) {- return callback(new Error('[[error:invalid-file-type, ' + allowedExtensions.join(', ') + ']]'));+ return callback(new Error('[[error:invalid-file-type, ' + allowedExtensions.join(', ') + ']]'));}callback();