diff --git a/Controllers/UserContentController.cs b/Controllers/UserContentController.cs index 413a4af..3ca1457 100644 --- a/Controllers/UserContentController.cs +++ b/Controllers/UserContentController.cs @@ -81,7 +81,7 @@ public class UserContentController : ControllerBase // A good idea would be to also check the Content-Type // of submitted files. ~eee4 - List allowedExtensions = new List() { ".jpg", ".png", ".jfif", ".gif", ".avif", ".webp" }; + List allowedExtensions = new List() { ".jpg", ".jpeg", ".jfif", ".png", ".gif", ".avif", ".webp" }; string fileExtension = Path.GetExtension(file.FileName); if (!allowedExtensions.Contains(fileExtension.ToLower())) {