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

Web Content Image Field has no extension check

    Details

      Description

      Steps:

      1. Go to YourPage > Content > Web Content
      2. Create or edit existing Structure
      3. Add Image field to the Structure
      4. Create new Web Content with your structure
      5. Upload a file into Image field via Documents and Media tab

      Actual result:  Image extension is not checked and web content is created. (can be *.txt)
      Expected:  Image extension is and file can't be uploaded.
      Note: If you upload an image via Web Content Images, extension is checked.

      **Reproducible:

      • CentOS, MySQL 5.7, Tomcat 9, Chrome, FF ESR
      • 7.1.x Master git #baa9c28bf900640c0cf870f2596c33811efac281
      • 7.0.5 CE GA6

      Priority: L4 + S3 = 4

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joyce.wang Joyce Wang
              Reporter:
              adam.zahatlan Adam Zahatlan
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 25 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.0 Beta 1
                  7.1.0 Beta 3
                  7.1.X
                  Master