File validation extension upper case issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexcruncha
    Junior Member
    • Oct 2016
    • 6

    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?
  • yuri
    Member
    • Mar 2014
    • 8440

    #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.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      The fix: https://github.com/espocrm/espocrm/c...17cb5375cf8860
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...