Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-136185

File extension can not be restricted after setting

    Details

      Description

      Steps to reproduce

      1. Go to System setting> Document and media> Service> File Extensions > Update "*" to ".doc" > Save
      2. Go to content > Document and media
      3. Add a document and upload an image

      Expected Results

      An error will be displayed "Please enter a file with a valid extension (.doc)."

      Actual Results

      The file with other extensions still can be uploaded.

       

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7.
      Portal 7.4 DXP EP3

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              jeremy.chen Jeremy Chen
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Engineering Assignee:
              Alicia Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 5 days ago

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  Master