Announcement

Collapse
No announcement yet.

File validation extension upper case issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • File validation extension upper case issue

    Hi, great update and loving your CRM for many years now. We encountered an issue with the improvement "Server-side validation for uploaded file extensions #2356". While we have correctly set the allowed file type suffixes in entity manager users are unable to upload allowed file types if the suffix has any kind of capitalisation in. I have tried setting .pdf and .PDF for example in entity manager but it still only allows files to be uploaded with lower case file type suffixes. Do you know any way to remove the restriction of lower case suffixes only? Or is it considered a bug that should be fixed via an update?

  • #2
    Hi,

    Will be fixed. Might be the issue is here. https://github.com/espocrm/espocrm/b...hment.php#L324 strtolower should be on both sides of comparison.

    Comment


    • #3
      The fix: https://github.com/espocrm/espocrm/c...17cb5375cf8860

      Comment

      Working...
      X