Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27418

The package component allows non image files renamed with image extensions

    Details

      Description

      This issue was discovering while testing another issue, under the 5.4.11 certification.

      The tc-3228 test case, has the following step

      5. Now try to upload a file that is an actual image, but which is renamed to an unavailable extension, such as a jpg file named "my_disguised_image.php".

      I tried a variation of this step and renamed a php file to have jpg as extension.

      eZP accepts it.

      Steps to reproduce
      • Create an invalid image

         ls / > invalidImage.jpg

      • Create a style package
      • When the package manager asks to select an image, upload the {{ invalidImage.jpg}} file.
      • Confirms it will accept that file as an image.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        8s 1 eduardo.fernandes@ez.no 26/May/17 5:36 PM
        Confirmed Confirmed Backlog Backlog
        103d 20h 40m 1 Gunnstein Lye 07/Sep/17 2:16 PM
        Backlog Backlog Development Development
        3s 1 Gunnstein Lye 07/Sep/17 2:16 PM
        Development Development Development Review Development Review
        8s 1 Gunnstein Lye 07/Sep/17 2:16 PM
        Development Review Development Review Documentation Review done Documentation Review done
        4m 46s 1 Gunnstein Lye 07/Sep/17 2:21 PM
        Documentation Review done Documentation Review done QA QA
        19h 1m 1 rui.silva@ez.no 08/Sep/17 9:23 AM
        QA QA InputQ InputQ
        2d 23h 34m 1 rui.silva@ez.no 11/Sep/17 8:57 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Eduardo Fernandes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 0 minutes
              0m
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 45 minutes
              45m